TightVNC code version 1.3.10 contains heap buffer overflow in rfbServerCutText handler, which can potentially result code execution.. This attack appear to be exploitable via network connectivity.
https://cert-portal.siemens.com/productcert/pdf/ssa-478893.pdf
https://lists.debian.org/debian-lts-announce/2019/12/msg00028.html