CVE-2026-7838: Integer Overflow or Wraparound in uvnc UltraVNC
UltraVNC viewer versions up to 1.8.2.2 contain an integer overflow vulnerability in the RFB protocol failure-response parsing. This flaw leads to a heap buffer overflow when processing certain failure messages from a malicious or man-in-the-middle VNC server. Exploitation can cause a crash or potentially remote code execution as the user running the viewer. The vulnerability is confirmed by AddressSanitizer testing. No official patch or remediation guidance is currently provided.
AI Analysis
Technical Summary
CVE-2026-7838 describes an integer overflow in UltraVNC viewer (up to 1.8.2.2) within the RFB protocol failure-response parsing code. Specifically, the 4-byte network-supplied reasonLen field is used in an addition that overflows when reasonLen equals 0xFFFFFFFF, causing an undersized buffer allocation. Subsequent reading of the large reasonLen value into this small buffer results in a heap buffer overflow. This vulnerability can be triggered by a malicious VNC server or a man-in-the-middle during authentication failure messages, potentially leading to remote code execution under the context of the viewer user. The issue was verified using AddressSanitizer.
Potential Impact
A remote attacker controlling a VNC server or positioned as a man-in-the-middle can exploit this vulnerability to cause a heap buffer overflow in the UltraVNC viewer. This may lead to a crash or remote code execution with the privileges of the user running the viewer. The vulnerability affects the authentication failure message handling, allowing exploitation without successful authentication.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should exercise caution when connecting to untrusted VNC servers or networks where man-in-the-middle attacks are possible. Monitor the vendor's advisory channels for updates and apply patches once released.
CVE-2026-7838: Integer Overflow or Wraparound in uvnc UltraVNC
Description
UltraVNC viewer versions up to 1.8.2.2 contain an integer overflow vulnerability in the RFB protocol failure-response parsing. This flaw leads to a heap buffer overflow when processing certain failure messages from a malicious or man-in-the-middle VNC server. Exploitation can cause a crash or potentially remote code execution as the user running the viewer. The vulnerability is confirmed by AddressSanitizer testing. No official patch or remediation guidance is currently provided.
CVSS v4.0
Score 8.7high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7838 describes an integer overflow in UltraVNC viewer (up to 1.8.2.2) within the RFB protocol failure-response parsing code. Specifically, the 4-byte network-supplied reasonLen field is used in an addition that overflows when reasonLen equals 0xFFFFFFFF, causing an undersized buffer allocation. Subsequent reading of the large reasonLen value into this small buffer results in a heap buffer overflow. This vulnerability can be triggered by a malicious VNC server or a man-in-the-middle during authentication failure messages, potentially leading to remote code execution under the context of the viewer user. The issue was verified using AddressSanitizer.
Potential Impact
A remote attacker controlling a VNC server or positioned as a man-in-the-middle can exploit this vulnerability to cause a heap buffer overflow in the UltraVNC viewer. This may lead to a crash or remote code execution with the privileges of the user running the viewer. The vulnerability affects the authentication failure message handling, allowing exploitation without successful authentication.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should exercise caution when connecting to untrusted VNC servers or networks where man-in-the-middle attacks are possible. Monitor the vendor's advisory channels for updates and apply patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- securin
- Date Reserved
- 2026-05-05T07:30:55.831Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a44a07a27e9c79719fbd742
Added to database: 07/01/2026, 05:07:06 UTC
Last enriched: 07/01/2026, 05:21:30 UTC
Last updated: 07/01/2026, 08:54:33 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.