top of page
perceptive_background_267k.jpg

UltraVNC viewer through 1.8.2.2 contains an integer overflow leading to a heap buffer overflow in the RFB protocol failure-response parsing path. In vncviewer/C…

Published:

30 juni 2026 om 22:00:00

Alert date:

1 juli 2026 om 06:04:06

Source:

nvd.nist.gov

Click to open the original link from this advisory

Zero-Day Vulnerabilities, Network Infrastructure

UltraVNC viewer versions through 1.8.2.2 contain a critical integer overflow vulnerability in the RFB protocol failure-response parsing path. The flaw exists in vncviewer/ClientConnection.cpp where the network-supplied reasonLen field (CARD32) is passed as reasonLen+1 to CheckBufferSize(), causing an unsigned 32-bit integer overflow when reasonLen equals 0xFFFFFFFF. This overflow results in only 256 bytes being allocated, while the subsequent ReadString call attempts to read up to 4 GiB of data into that buffer. The vulnerability is reachable without authentication via rfbConnFailed and rfbVncAuthFailed message types. A malicious VNC server or man-in-the-middle attacker can trigger this when a victim viewer connects. Successful exploitation can lead to remote code execution as the user running the viewer. The heap buffer overflow was confirmed with AddressSanitizer showing a WRITE at offset 256.

Technical details

Mitigation steps:

Affected products:

UltraVNC viewer 1.8.2.2 and earlier

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page