GHSA-wxqv-4fpj-f62j · Severity: high — UltraVNC viewer through 1.8.2.2 contains an integer overflow leading to a heap buffer overflow in...
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).
Conclusion & alert: CVE-2026-7838 is rated Moderate Risk (59.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.40%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-07-09 | 1.15% | 1.40% | +0.25% |
| 2 | 2026-07-01 | — | 1.15% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | 33c584b5-0579-4c06-b2a0-8d8329fcab9c |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | 33c584b5-0579-4c06-b2a0-8d8329fcab9c |
GHSA-wxqv-4fpj-f62j · Severity: high — UltraVNC viewer through 1.8.2.2 contains an integer overflow leading to a heap buffer overflow in...
| URL | Tags |
|---|---|
| https://github.com/ultravnc/UltraVNC | Product |
| https://uvnc.com/ | Product Release Notes |
| https://www.securin.io/zero-days/cve-2026-7838-heap-overflow-viewer-reasonlen-integer-overflow-ultravnc |