5.3med

CVE-2026-7828

UltraVNC repeater integer overflow in win_log malloc leading to heap overflow

Published 4 mo ago · modified 12 d ago · JSON

CVSS
5.3
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
1.4%
percentile 72%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
4 mo ago

Exploit prediction (EPSS)

1.35% probability of exploitation in the next 30 days, higher than 72% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.15.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA3.15.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

  • uvnc UltraVNC

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

  • uvnc.com / · vendor-advisory
  • github.com /ultravnc/UltraVNC · product
  • securin.io /zero-days/cve-2026-7828-integer-overflow-win-log-malloc-ultravnc-repeater

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.