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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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-7834A security vulnerability has been detected in EFM ipTIME NAS…9.8
- CVE-2026-7835A format string argument mismatch in Netatalk 3.0.3 through …3.1
- CVE-2026-7836An incorrect calculation in the hextoint macro in Netatalk 2…3.1
- CVE-2026-7837A time-of-check time-of-use (TOCTOU) condition in the ad_flu…3.7
- CVE-2026-7838UltraVNC viewer through 1.8.2.2 contains an integer overflow…8.8
- CVE-2026-7839UltraVNC repeater through 1.8.2.2 initializes the HTTP admin…9.1
- CVE-2026-7841A remote code execution vulnerability exists in Notification…8.8
- CVE-2026-7842The Infility Global Infility Global WordPress plugin before …6.8
- CVE-2026-7844A vulnerability was detected in chatchat-space Langchain-Cha…6.3
- CVE-2026-7845A flaw has been found in chatchat-space Langchain-Chatchat u…2.6
- CVE-2026-7846A vulnerability has been found in chatchat-space Langchain-C…2.6
- CVE-2026-7847A vulnerability was found in chatchat-space Langchain-Chatch…2.6
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
