Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.6%top 27%

CVE-2026-7840: Out-of-bounds Write in uvnc UltraVNC

0
Critical
VulnerabilityCVE-2026-7840cvecve-2026-7840
Published: 07/01/2026 (07/01/2026, 03:33:28 UTC)
Source: CVE Database V5
Vendor/Project: uvnc
Product: UltraVNC

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 13:02:41 UTC

Technical Analysis

CVE-2026-7840 is a critical buffer overflow vulnerability in UltraVNC repeater through version 1.8.2.2. The embedded HTTP administration server uses a fixed 1000-byte global buffer (hdrbuf) for HTTP request URIs, but the HTTP receive buffer accepts URIs up to approximately 150 KB. The functions wi_senderr() and wi_replyhdr() write the URI into hdrbuf using unchecked sprintf calls, enabling an attacker to overflow hdrbuf by at least 500 bytes with a single HTTP request containing a URI of 1500 bytes or longer. This overflow corrupts adjacent .bss-segment globals and occurs before any authentication, allowing unauthenticated remote code execution on the repeater host.

Potential Impact

An unauthenticated remote attacker who can reach the repeater's HTTP port (default TCP 80) can exploit this vulnerability to cause a global buffer overflow, leading to corruption of memory adjacent to the buffer. This can result in arbitrary code execution on the host running the UltraVNC repeater, potentially compromising the system completely.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the UltraVNC repeater HTTP administration port to trusted networks only to prevent unauthenticated remote exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
securin
Date Reserved
2026-05-05T07:30:59.460Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a44a07b27e9c79719fbd78b

Added to database: 07/01/2026, 05:07:07 UTC

Last enriched: 07/08/2026, 13:02:41 UTC

Last updated: 08/15/2026, 12:41:11 UTC

Views: 235

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses