๐Ÿ” CVE Alert

CVE-2026-7838

HIGH 8.8

UltraVNC viewer heap buffer overflow via integer overflow in RFB connection-failure reason length

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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/ClientConnection.cpp, the 4-byte network-supplied reasonLen field (type CARD32) is passed as reasonLen+1 to CheckBufferSize(). Because both operands are unsigned 32-bit, a reasonLen of 0xFFFFFFFF overflows to 0, causing CheckBufferSize to allocate only 256 bytes. The subsequent ReadString(m_netbuf, reasonLen) call then performs ReadExact for the original 4 GiB length into that 256-byte heap buffer. This overflow is reachable via rfbConnFailed (auth-scheme negotiation) and rfbVncAuthFailed (post-handshake) message types without successful authentication. A malicious VNC server, or any man-in-the-middle on the RFB stream, can trigger this condition when the victim viewer connects, potentially resulting in remote code execution as the user running the viewer. The crash was confirmed with AddressSanitizer on a portable reproduction harness (heap-buffer-overflow WRITE at offset 256).

CWE CWE-190 CWE-787
Vendor uvnc
Product ultravnc
Published Jul 1, 2026
Stay Ahead of the Next One

Get instant alerts for uvnc ultravnc

Be the first to know when new high vulnerabilities affecting uvnc ultravnc are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

uvnc / UltraVNC
0 โ‰ค 1.8.2.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
uvnc.com: https://uvnc.com/ github.com: https://github.com/ultravnc/UltraVNC

Credits

Arjun Basnet, Securin ([email protected])