CVE-2026-50538
JSON

8.8high

libvncclient Tight decoder has an attacker-controlled heap out-of-bounds write

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

LibVNCClient is a library for easy implementation of a VNC client. In versions 0.9.12 through 0.9.15, a malicious (or man-in-the-middle) VNC server can force a connecting `libvncclient` to write attacker-controlled data past the end of its framebuffer. This is an out-of-bounds heap write with attacker-controlled length, contents, and offset. It needs no authentication (the attacker is the server), works in a default build with default settings, and fires from a single `FramebufferUpdate` the moment the victim connects. It crashes any client unconditionally (denial of service); we also demonstrated it overwriting an application callback pointer and redirecting execution to attacker-chosen code (code execution) under the default configuration. Commit 540332be3e0acc566fa64da6f1b4680c72c724dd patches the issue.

Affected

Product or packageVersionsReported by
LibVNC libvncserver>= 0.9.12, <= 0.9.15CVE List

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

LibVNCClient is a library for easy implementation of a VNC client. In versions 0.9.12 through 0.9.15, a malicious (or man-in-the-middle) VNC server can force a connecting `libvncclient` to write attacker-controlled data past the end of its framebuffer. This is an out-of-bounds heap write with attacker-controlled length, contents, and offset. It needs no authentication (the attacker is the server), works in a default build with default settings, and fires from a single `FramebufferUpdate` the moment the victim connects. It crashes any client unconditionally (denial of service); we also demonstrated it overwriting an application callback pointer and redirecting execution to attacker-chosen code (code execution) under the default configuration. Commit 540332be3e0acc566fa64da6f1b4680c72c724dd patches the issue.

NVD (es)

LibVNCClient es una biblioteca para la fácil implementación de un cliente VNC. En las versiones 0.9.12 a la 0.9.15, un servidor VNC malicioso (o man-in-the-middle) puede forzar a un 'libvncclient' que se conecta a escribir datos controlados por el atacante más allá del final de su framebuffer. Esto es una escritura de heap fuera de límites con longitud, contenido y desplazamiento controlados por el atacante. No necesita autenticación (el atacante es el servidor), funciona en una compilación predeterminada con configuraciones predeterminadas, y se activa desde una única 'FramebufferUpdate' en el momento en que la víctima se conecta. Bloquea cualquier cliente incondicionalmente (denegación de servicio); también demostramos que sobrescribe un puntero de callback de aplicación y redirige la ejecución a código elegido por el atacante (ejecución de código) bajo la configuración predeterminada. El commit 540332be3e0acc566fa64da6f1b4680c72c724dd corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50538 changed 2026-08-24CVE Terms of Use
NVDCVE-2026-50538 changed 2026-10-12Public domain