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 2.63% 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-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-78395The Link Library WordPress plugin before 7.10.0 does not re-…5.3
- CVE-2026-78396The Link Library WordPress plugin before 7.10.0 does not ver…5.3
- CVE-2026-78397The Link Library WordPress plugin before 7.9.6 does not vali…4
- CVE-2026-78399IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…6.5
- CVE-2026-78401IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…9.8
- CVE-2026-78402Stack-based buffer overflow and out-of-bounds write vulnerab…7.8
- CVE-2026-78403Stack-based buffer overflow and missing authorization vulner…9.8
- CVE-2026-78404IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.5 is …6.5
- CVE-2026-78406IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…9.8
- CVE-2026-78407IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…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
