Read the docs
TI-2026-06897 Aliases CVE-2026-7838GHSA-wxqv-4fpj-f62j

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

Priority MEDIUM 43CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.

Summary

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).

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01869 79th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
uvncUltraVNCup to 1.8.2.2—No fix listedCNA
  • UltraVNC Vendoruvnc Affected up to 1.8.2.2 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:uvnc:ultravnc:*:*:*:*:*:*:*:*up to 1.8.2.2Vulnerableuvnc
  • cpe:2.3:a:uvnc:ultravnc:*:*:*:*:*:*:*:* Versions up to 1.8.2.2 Vulnerable ·uvnc

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-7838
  2. 2026-10-03 Alias added: GHSA-wxqv-4fpj-f62j

References

  • TI-2020-19268 UltraVNC Launcher 1.2.4.0 - 'RepeaterHost' Denial of Service CVSS 4.0MEDIUM 6.7
  • TI-2026-04323 UltraVNC Service version.dll uncontrolled search path CVSS 4.0HIGH 7.3
  • TI-2020-19267 UltraVNC Launcher 1.2.4.0 - 'Password' Denial of Service CVSS 4.0MEDIUM 6.7
  • TI-2026-06899 UltraVNC repeater HTTP server global buffer overflow via long URI (pre-auth RCE) CVSS 4.0CRITICAL 9.3
  • TI-2019-05946 Heap-based buffer overflow in Kaspersky Lab UltraVNC CVSS 3.1CRITICAL 9.8
  • TI-2019-05945 Heap-based buffer overflow in Kaspersky Lab UltraVNC CVSS 3.1CRITICAL 9.8
See all 36 →

Sources