UltraVNC viewer through 1.8.2.2 contains an off-by-one stack buffer overflow in the RFB ServerInit message handler. In vncviewer/ClientConnection.cpp, when the server-supplied nameLength equals exactly 2024 the code declares a 2024-byte stack buffer _dn[2024] and calls ReadString(_dn, 2024). ReadString writes the NUL terminator at buf[length], i.e., _dn[2024], one byte past the end of the stack buffer. A malicious VNC server can trigger this condition by advertising a desktop name of length 2024 in its ServerInit message. On release builds without stack canaries the single-byte NUL overwrite adjacent stack data. On builds with /GS stack protection the canary is corrupted and the process terminates, resulting in denial of service. User interaction (connecting the viewer to the malicious server) is required.
CVE-2026-7831
Score 7.6 from GitHub Security Advisory (severity: HIGH) published 2026-07-01. a secondary CVSS source baseline 7.6; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.6
- EG Score
- 7.6(high)
- EPSS
- 33.5%
- KEV
- Not listed
Published
July 1, 2026
Last Modified
July 2, 2026
Advisory Details (2)
Auto-updated Jul 1, 2026GitHub - ultravnc/UltraVNC: 👁️ UltraVNC Server, UltraVNC Viewer, UltraVNC Repeater and UltraVNC SC | Official repository: https://github.com/ultravnc/UltraVNC · GitHub
https://github.com/ultravnc/UltraVNCVendor Advisories for CVE-2026-7831(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 35× in last 7d / 35× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 20:28 UTCEG score recompute
- 2026-07-06 20:28 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 09:14 UTCEG score recompute
- 2026-07-06 09:13 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 21:58 UTCEG score recompute
- 2026-07-05 21:58 UTCGHSA enrichment
- 2026-07-05 10:43 UTCEG score recompute
- 2026-07-05 10:43 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 23:28 UTCEG score recompute
- 2026-07-04 23:28 UTCGHSA enrichment
- 2026-07-04 12:14 UTCEG score recompute
- 2026-07-04 12:13 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 00:57 UTCEG score recompute
- 2026-07-04 00:57 UTCGHSA enrichment
- 2026-07-03 13:42 UTCEG score recompute
- 2026-07-03 13:42 UTCGHSA enrichment
- 2026-07-03 02:27 UTCEG score recompute
Show 10 moreShow fewer
- 2026-07-03 02:27 UTCGHSA enrichment
- 2026-07-02 15:10 UTCEG score recompute
- 2026-07-02 15:10 UTCGHSA enrichment
- 2026-07-02 03:51 UTCEG score recompute
- 2026-07-02 03:51 UTCGHSA enrichment
- 2026-07-01 16:36 UTCEG score recompute
- 2026-07-01 16:36 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 05:21 UTCEG score recompute
- 2026-07-01 05:20 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-7831?
When was CVE-2026-7831 disclosed?
Is CVE-2026-7831 actively exploited?
What is the CVSS score of CVE-2026-7831?
How do I remediate CVE-2026-7831?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-7831
Is Your Infrastructure Affected by CVE-2026-7831?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.