{"id":"CVE-2026-7828","published":"2026-07-01T03:33:21Z","modified":"2026-07-09T04:36:02Z","title":"UltraVNC repeater integer overflow in win_log malloc leading to heap overflow","vendor":"uvnc","product":"UltraVNC","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01352,"percentile":0.72228,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://uvnc.com/","tags":["vendor-advisory"]},{"url":"https://github.com/ultravnc/UltraVNC","tags":["product"]},{"url":"https://www.securin.io/zero-days/cve-2026-7828-integer-overflow-win-log-malloc-ultravnc-repeater","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":14.45},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"uvnc","affectedVersions":[{"vendor":"uvnc","product":"UltraVNC","versions":["<= 1.8.2.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-01T13:14:15.623029Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40880","exploited":false,"provenance":"source"}}