Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-7838
PUBLISHED
More InfoOfficial Page
Assigner-securin
Assigner Org ID-33c584b5-0579-4c06-b2a0-8d8329fcab9c
View Known Exploited Vulnerability (KEV) details
Published At-01 Jul, 2026 | 03:33
Updated At-01 Jul, 2026 | 13:11
Rejected At-
▼CVE Numbering Authority (CNA)
UltraVNC viewer heap buffer overflow via integer overflow in RFB connection-failure reason length

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

Affected Products
Vendor
uvnc
Product
UltraVNC
Modules
  • vncviewer
Default Status
unaffected
Versions
Affected
  • From 0 through 1.8.2.2 (custom)
Problem Types
TypeCWE IDDescription
CWECWE-190Integer Overflow or Wraparound
CWECWE-787Out-of-bounds Write
Type: CWE
CWE ID: CWE-190
Description: Integer Overflow or Wraparound
Type: CWE
CWE ID: CWE-787
Description: Out-of-bounds Write
Metrics
VersionBase scoreBase severityVector
3.18.8HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.08.7HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Version: 3.1
Base score: 8.8
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Version: 4.0
Base score: 8.7
Base severity: HIGH
Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

finder
Arjun Basnet, Securin (arjun.basnet@securin.io)
Timeline
EventDate
Vulnerability discovered and crash-confirmed with AddressSanitizer2026-06-02 00:00:00
Reported to vendor (coordinated disclosure)2026-06-17 00:00:00
Planned public disclosure (90-day window)2026-09-15 00:00:00
Event: Vulnerability discovered and crash-confirmed with AddressSanitizer
Date: 2026-06-02 00:00:00
Event: Reported to vendor (coordinated disclosure)
Date: 2026-06-17 00:00:00
Event: Planned public disclosure (90-day window)
Date: 2026-09-15 00:00:00
Replaced By

Rejected Reason

References
HyperlinkResource
https://uvnc.com/
vendor-advisory
https://github.com/ultravnc/UltraVNC
product
Hyperlink: https://uvnc.com/
Resource:
vendor-advisory
Hyperlink: https://github.com/ultravnc/UltraVNC
Resource:
product
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found