Back to overview

CVE-2026-7828

MEDIUM
5.3
CVSS 3.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.

Metadata

CVE ID
CVE-2026-7828
State
PUBLISHED
Assigner
securin
Reserved
2026-05-05 03:40 UTC
Published
2026-07-01 03:33 UTC
Last updated
2026-07-01 03:33 UTC
Primary CWE
CWE-190
Integer Overflow or Wraparound
Vendor / Product
uvnc / UltraVNC
Sources
cve.org  ·  NVD

Severity & Metrics

5.3 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected products (1)
VendorProductPlatformVersions
uvnc UltraVNC 0 ≤ 1.8.2.2
Weakness (CWE)
CWESourceDescription
CWE-190 cna Integer Overflow or Wraparound
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.3 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References (2)
Back to overview