UltraVNC repeater HTTP server global buffer overflow via long URI (pre-auth RCE)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-7840
- 2026-10-03 Alias added: GHSA-95qw-xpp9-h343
References
More uvnc Ultravnc vulnerabilities
- TI-2020-19268 UltraVNC Launcher 1.2.4.0 - 'RepeaterHost' Denial of Service CVSS 4.0MEDIUM 6.7
- TI-2026-04323 UltraVNC Service version.dll uncontrolled search path CVSS 4.0HIGH 7.3
- TI-2020-19267 UltraVNC Launcher 1.2.4.0 - 'Password' Denial of Service CVSS 4.0MEDIUM 6.7
- TI-2019-05946 Heap-based buffer overflow in Kaspersky Lab UltraVNC CVSS 3.1CRITICAL 9.8
- TI-2019-05945 Heap-based buffer overflow in Kaspersky Lab UltraVNC CVSS 3.1CRITICAL 9.8
- TI-2019-05943 Heap-based buffer overflow in Kaspersky Lab UltraVNC CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-7840 · CVE Program
- CVE-2026-7840 · NVD
- FIRST EPSS
- GHSA-95qw-xpp9-h343 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences