UltraVNC repeater through 1.8.2.2 contains a global buffer overflow in its embedded HTTP administration server. The functions wi_senderr() and wi_replyhdr() in repeater/webgui/webutils.c write the caller-supplied HTTP request URI into a fixed 1000-byte global buffer (hdrbuf) via unchecked sprintf calls. The HTTP receive buffer accepts URIs up to approximately 150 KB (WI_RXBUFSIZE = 153600), so an unauthenticated attacker who can reach the repeater HTTP port (default TCP 80) can overflow hdrbuf by at least 500 bytes with a single HTTP request containing a URI of 1500 bytes or longer, corrupting adjacent .bss-segment globals. The overflow occurs before any authentication check, making it reachable without credentials. A remote, unauthenticated attacker can achieve arbitrary code execution on the host running the repeater.
CVE-2026-7840
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-01. a secondary CVSS source baseline 9.8; 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
- 9.8
- EG Score
- 9.8(high)
- EPSS
- 64.5%
- KEV
- Not listed
Published
July 1, 2026
Last Modified
July 1, 2026
Advisory Details (2)
Auto-updated Jul 3, 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-7840(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 83× in last 7d / 83× 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-07 04:20 UTCEG score recompute
- 2026-07-07 04:20 UTCGHSA enrichment
- 2026-07-07 00:23 UTCEG score recompute
- 2026-07-07 00:22 UTCGHSA enrichment
- 2026-07-06 20:25 UTCEG score recompute
- 2026-07-06 20:24 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEG score recompute
- 2026-07-06 16:27 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 12:23 UTCEG score recompute
- 2026-07-06 12:23 UTCGHSA enrichment
- 2026-07-06 08:24 UTCEG score recompute
- 2026-07-06 08:24 UTCGHSA enrichment
- 2026-07-06 04:26 UTCEG score recompute
- 2026-07-06 04:25 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 00:24 UTCEG score recompute
- 2026-07-06 00:24 UTCGHSA enrichment
- 2026-07-05 20:27 UTCEG score recompute
- 2026-07-05 20:27 UTCGHSA enrichment
- 2026-07-05 16:29 UTCEG score recompute
- 2026-07-05 16:29 UTCGHSA enrichment
- 2026-07-05 12:28 UTCEG score recompute
Show 58 moreShow fewer
- 2026-07-05 12:28 UTCGHSA enrichment
- 2026-07-05 08:29 UTCEG score recompute
- 2026-07-05 08:29 UTCGHSA enrichment
- 2026-07-05 04:32 UTCEG score recompute
- 2026-07-05 04:32 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 00:34 UTCEG score recompute
- 2026-07-05 00:34 UTCGHSA enrichment
- 2026-07-04 20:36 UTCEG score recompute
- 2026-07-04 20:36 UTCGHSA enrichment
- 2026-07-04 16:39 UTCEG score recompute
- 2026-07-04 16:39 UTCGHSA enrichment
- 2026-07-04 12:31 UTCEG score recompute
- 2026-07-04 12:31 UTCGHSA enrichment
- 2026-07-04 08:35 UTCEG score recompute
- 2026-07-04 08:35 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 04:38 UTCEG score recompute
- 2026-07-04 04:38 UTCGHSA enrichment
- 2026-07-04 00:40 UTCEG score recompute
- 2026-07-04 00:40 UTCGHSA enrichment
- 2026-07-03 20:43 UTCEG score recompute
- 2026-07-03 20:43 UTCGHSA enrichment
- 2026-07-03 16:46 UTCEG score recompute
- 2026-07-03 16:45 UTCGHSA enrichment
- 2026-07-03 12:47 UTCEG score recompute
- 2026-07-03 12:47 UTCGHSA enrichment
- 2026-07-03 08:49 UTCEG score recompute
- 2026-07-03 08:49 UTCGHSA enrichment
- 2026-07-03 04:52 UTCEG score recompute
- 2026-07-03 04:52 UTCGHSA enrichment
- 2026-07-03 00:53 UTCEG score recompute
- 2026-07-03 00:52 UTCGHSA enrichment
- 2026-07-02 20:55 UTCEG score recompute
- 2026-07-02 20:55 UTCGHSA enrichment
- 2026-07-02 16:59 UTCEG score recompute
- 2026-07-02 16:59 UTCGHSA enrichment
- 2026-07-02 13:02 UTCEG score recompute
- 2026-07-02 13:02 UTCGHSA enrichment
- 2026-07-02 09:03 UTCEG score recompute
- 2026-07-02 09:03 UTCGHSA enrichment
- 2026-07-02 05:04 UTCEG score recompute
- 2026-07-02 05:04 UTCGHSA enrichment
- 2026-07-02 01:07 UTCEG score recompute
- 2026-07-02 01:07 UTCGHSA enrichment
- 2026-07-01 21:10 UTCEG score recompute
- 2026-07-01 21:10 UTCGHSA enrichment
- 2026-07-01 17:13 UTCEG score recompute
- 2026-07-01 17:13 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 13:16 UTCEG score recompute
- 2026-07-01 13:16 UTCGHSA enrichment
- 2026-07-01 09:18 UTCEG score recompute
- 2026-07-01 09:18 UTCGHSA enrichment
- 2026-07-01 05:21 UTCEG score recompute
- 2026-07-01 05:20 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-787
- CVE-2007-0158EG 9.8CRITICAL
- CVE-2007-0899EG 9.8CRITICAL
- CVE-2011-2462EG 9.8 KEVEPSS 100%CRITICAL
- CVE-2010-20115EG 9.3CRITICAL
- CVE-2010-4398NVD 7.8EG 9.0 KEVEPSS 94%HIGH
- CVE-2010-3333NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-2883NVD 7.3EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-1297NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2009-3953NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2009-3129NVD 7.8EG 9.0 KEVEPSS 100%HIGH
Frequently asked(5)
What is CVE-2026-7840?
When was CVE-2026-7840 disclosed?
Is CVE-2026-7840 actively exploited?
What is the CVSS score of CVE-2026-7840?
How do I remediate CVE-2026-7840?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-7840
Is Your Infrastructure Affected by CVE-2026-7840?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.