Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-7838— UltraVNC viewer heap buffer overflow via integer overflow in RFB connection-failure reason length

CVSS 8.8 · High EPSS 1.40% · P70

Affected Version Matrix 1

VendorProductVersion RangeStatus
uvncUltraVNC≤ 1.8.2.2affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-7838

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
UltraVNC viewer heap buffer overflow via integer overflow in RFB connection-failure reason length
Source: CVE Program / CVE List V5
Vulnerability Description
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).
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5
Vulnerability Title
UltraVNC 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
uvnc UltraVNC是uvnc个人开发者开源的一款Windows远程控制软件。 UltraVNC 1.8.2.2及之前版本存在安全漏洞,该漏洞源于RFB协议失败响应解析路径中的整数溢出导致堆缓冲区溢出,具体涉及vncviewer/ClientConnection.cpp中reasonLen参数的处理,可能导致恶意VNC服务器或中间人攻击者在用户连接时触发远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
uvncUltraVNC 0 ~ 1.8.2.2 -

II. Public POCs for CVE-2026-7838

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 8346 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-7838

登录查看更多情报信息。

Vendor Advisories for CVE-2026-7838 (1)

Vendor Pages for CVE-2026-7838 (1)

Same Patch Batch · uvnc · 2026-07-01 · 10 CVEs total

CVE-2026-78409.8 CRITICALUltraVNC repeater HTTP server global buffer overflow via long URI (pre-auth RCE)
CVE-2026-78399.1 CRITICALUltraVNC repeater ships hardcoded default admin password allowing unauthenticated admin ac
CVE-2026-78317.5 HIGHUltraVNC viewer off-by-one stack overflow in ServerInit desktop name parsing
CVE-2026-78307.4 HIGHUltraVNC MS-Logon II uses 64-bit Diffie-Hellman and seeded libc rand() enabling credential
CVE-2026-78297.2 HIGHUltraVNC repeater authenticated out-of-bounds write in rule parser via oversized token
CVE-2026-78285.3 MEDIUMUltraVNC repeater integer overflow in win_log malloc leading to heap overflow
CVE-2026-440404.8 MEDIUMUltraVNC vncauth.c uses time-seeded libc rand() to generate VNC authentication challenge b
CVE-2026-440414.3 MEDIUMUltraVNC vncWc2Mb calls wcslen() before validating that the wide string is NUL-terminated
CVE-2026-440423.7 LOWUltraVNC repeater wi_uudecode off-by-one in base64 decode boundary check

IV. Related Vulnerabilities

V. Comments for CVE-2026-7838

No comments yet


Leave a comment