CVE-2026-7840
Last modified
CVE-2026-7840 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uvnc | Ultravnc | <= 1.8.2.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-7840?
How severe is CVE-2026-7840?
How do I fix CVE-2026-7840?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-78387RansomLook contains an authorization weakness in the web-bas…9.4
- CVE-2026-7839UltraVNC repeater through 1.8.2.2 initializes the HTTP admin…9.1
- CVE-2026-78391RansomLook contains a stored cross-site scripting (XSS) vuln…8.8
- CVE-2026-78393The Link Library WordPress plugin before 7.9.6 does not prop…6.1
- CVE-2026-78394The Link Library WordPress plugin before 7.9.6 does not sani…4.1
- CVE-2026-78397The Link Library WordPress plugin before 7.9.6 does not vali…4
- CVE-2026-78408The nsenter --join-cgroup option opens the target cgroup.pro…7.9
- CVE-2026-78409The X-mount.subdir option uses a detached-tree fast path on …7
- CVE-2026-7841A remote code execution vulnerability exists in Notification…8.8
- CVE-2026-78410A flaw was found in util-linux. Restricted bind mounts take …7.8
- CVE-2026-78414Cross-site scripting in the Web Administration interface of …8
- CVE-2026-78415IBM Sterling Secure Proxy 6.2.0.0 through 6.2.1.2 could allo…5.4
Are you affected by CVE-2026-7840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
