Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uvnc | Ultravnc | <= 1.8.2.2 |
Related Weaknesses (CWE)
References
- https://github.com/ultravnc/UltraVNCProduct
- https://uvnc.com/ProductRelease Notes
- https://www.securin.io/zero-days/cve-2026-7828-integer-overflow-win-log-malloc-u
FAQ
What is CVE-2026-7828?
CVE-2026-7828 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-7828?
CVE-2026-7828 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-7828?
Check the references section above for vendor advisories and patch information. Affected products include: Uvnc Ultravnc.