CVE-2026-7828

MEDIUM

UltraVNC repeater integer overflow in win_log malloc leading to heap overflow

Title source: cna
STIX 2.1

Description

UltraVNC repeater through 1.8.2.2 contains an integer overflow in the HTTP request logging path. In repeater/webgui/settings.c:336, the win_log() function allocates list nodes via malloc(sizeof(struct LIST) + strlen(line)), where line is derived from HTTP request URIs. If strlen(line) is sufficiently large, the addition overflows to a value smaller than sizeof(struct LIST), causing a heap allocation smaller than required. The subsequent strcpy of the full string into the undersized allocation produces a heap buffer overflow. In the current implementation this overflow is bounded by the HTTP receive buffer size (WI_RXBUFSIZE = 153600 bytes, well below SIZE_MAX on 32-bit builds), limiting practical exploitability to a partial heap write. A remote unauthenticated attacker can trigger the theoretical overflow path by sending a maximally-sized URI in an HTTP request to the repeater HTTP port.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
UltraVNC project page
https://uvnc.com/
Product product
UltraVNC source repository
https://github.com/ultravnc/UltraVNC

Scores

CVSS v3 5.3
EPSS 0.0084
EPSS Percentile 53.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (2)
uvnc/UltraVNC < 1.8.2.2
uvnc/ultravnc < 1.8.2.2
Published Jul 01, 2026
Tracked Since Jul 01, 2026