CVE-2026-7838: UltraVNC viewer through 1.8.2.2 contains an integer overflow leading to a heap buffer overflow in the RFB prot
CVE-2026-7838 is a high-severity flaw (CVSS 8.8) affecting ultravnc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-7838?
ultravnc: upgrade to newer than 1.8.2.2. Exact commands for each OS are on this page.
Is CVE-2026-7838 being exploited?
CVE-2026-7838 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-7838 affect?
CVE-2026-7838 affects ultravnc. Severity is high (CVSS 8.8). 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) i
How urgent is CVE-2026-7838?
Priority 51/100. High severity
Related CVEs
- CVE-2026-7840 CRITICAL 9.8 UPGRADE UltraVNC repeater through 1.8.2.2 contains a global buffer overflow in its embedded HTTP administration server
- CVE-2026-7839 CRITICAL 9.1 UPGRADE UltraVNC repeater through 1.8.2.2 initializes the HTTP administration server with a hardcoded default password
- CVE-2026-7828 MEDIUM 5.3 UPGRADE UltraVNC repeater through 1.8.2.2 contains an integer overflow in the HTTP request logging path
- CVE-2026-7829 HIGH 7.2 UPGRADE UltraVNC repeater through 1.8.2.2 contains a post-authentication out-of-bounds write in the allow/deny rule pa
- CVE-2026-7831 HIGH 7.6 UPGRADE UltraVNC viewer through 1.8.2.2 contains an off-by-one stack buffer overflow in the RFB ServerInit message han