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…

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 versions through 1.8.2.2 contain a critical global buffer overflow vulnerability in the embedded HTTP administration server. The vulnerability arises from unchecked sprintf calls that write a caller-supplied HTTP request URI into a fixed 1000-byte buffer, which can be overflowed by a specially crafted HTTP request URI of 1500 bytes or longer. This overflow occurs before any authentication checks, allowing unauthenticated remote attackers to corrupt memory and potentially execute arbitrary code 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/01/2026, 05:21:16 UTC

Technical Analysis

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

Potential Impact

A remote unauthenticated attacker who can access the repeater's HTTP port (default TCP 80) can exploit this vulnerability to cause a buffer overflow, leading to memory corruption and potentially arbitrary code execution on the affected system. This compromises the confidentiality, integrity, and availability of the host running the UltraVNC repeater.

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/01/2026, 05:21:16 UTC

Last updated: 07/01/2026, 08:56:49 UTC

Views: 8

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