CVE-2026-7828: UltraVNC repeater integer overflow in win_log malloc leading to heap overflow
UltraVNC repeater through 1.8.2.2 contains an integer overflow in the HTTP request logging path. In repeater/webgui/settings.c:336, the winlog() 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 (WIRXBUFSIZE = 153600 bytes, well below SIZEMAX 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-7828?
The severity of CVE-2026-7828 is medium with a CVSS score of 5.3.
How do I fix CVE-2026-7828?
To fix CVE-2026-7828, upgrade to a version of UltraVNC Repeater that addresses the integer overflow vulnerability.
What is the risk associated with CVE-2026-7828?
The risk associated with CVE-2026-7828 is rated at 27, indicating a medium level of threat.
What type of vulnerability is CVE-2026-7828?
CVE-2026-7828 is categorized as an integer overflow vulnerability leading to a possible heap overflow.
Which component of UltraVNC is affected by CVE-2026-7828?
CVE-2026-7828 affects the UltraVNC Repeater component, specifically in the HTTP request logging path.