CVE-2026-7840
Received Received - Intake

UltraVNC Repeater HTTP Server Buffer Overflow

Vulnerability report for CVE-2026-7840, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-01

Last updated on: 2026-07-01

Assigner: securin

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-01
Last Modified
2026-07-01
Generated
2026-07-01
AI Q&A
2026-07-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ultravnc repeater 1.8.2.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in UltraVNC repeater versions up to 1.8.2.2 in its embedded HTTP administration server. Specifically, the functions wi_senderr() and wi_replyhdr() write the HTTP request URI into a fixed-size 1000-byte global buffer without proper bounds checking. Since the HTTP receive buffer can accept URIs up to approximately 150 KB, an attacker can send a specially crafted HTTP request with a URI longer than 1500 bytes to overflow this buffer by at least 500 bytes.

The overflow corrupts adjacent global variables in memory before any authentication check is performed, allowing a remote, unauthenticated attacker who can reach the repeater's HTTP port (default TCP 80) to execute arbitrary code on the host running the repeater.

Impact Analysis

This vulnerability can have severe impacts including complete compromise of the affected system. Because it allows remote, unauthenticated attackers to execute arbitrary code, an attacker could gain full control over the host running the UltraVNC repeater.

  • Unauthorized access to sensitive data or system resources.
  • Potential disruption or denial of service by crashing the application or system.
  • Use of the compromised system as a foothold for further attacks within the network.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7840. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart