Integer overflow in Uvnc Ultravnc
CVE-2026-7828
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.
Vulnerability class: Integer Overflow
EPSS: 0.011 (61.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Uvnc Ultravnc — versions 0
Weakness classification (CWE)
References
- 33c584b5-0579-4c06-b2a0-8d8329fcab9c (Product, vendor-advisory, Release Notes)
- 33c584b5-0579-4c06-b2a0-8d8329fcab9c (Product, product)
- 33c584b5-0579-4c06-b2a0-8d8329fcab9c
Frequently asked questions
- What is CVE-2026-7828?
- CVE-2026-7828 is a medium-severity vulnerability in Uvnc Ultravnc, classified under Integer Overflow or Wraparound. CVSS score: 5.3/10. Published 2026-07-01.
- How severe is CVE-2026-7828?
- Medium severity. CVSS v3 base score is 5.3 out of 10.