CVE-2026-7828: Integer Overflow or Wraparound in uvnc UltraVNC
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.
AI Analysis
Technical Summary
CVE-2026-7828 is an integer overflow vulnerability in UltraVNC repeater (up to version 1.8.2.2) within the HTTP request logging path. The win_log() function allocates memory for list nodes using malloc(sizeof(struct LIST) + strlen(line)), where 'line' is derived from HTTP request URIs. If strlen(line) is large enough, the addition overflows, causing malloc to allocate less memory than needed. Subsequently, strcpy copies the full string into this undersized buffer, causing a heap buffer overflow. The overflow is bounded by the HTTP receive buffer size (153600 bytes), limiting exploitability to a partial heap write. This vulnerability can be triggered remotely without authentication by sending a maximally-sized URI in an HTTP request to the repeater HTTP port. No known exploits are reported in the wild and no vendor patch or official remediation is documented.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a heap buffer overflow via a specially crafted HTTP request URI. The overflow is limited in size by the HTTP receive buffer, resulting in a partial heap overwrite. The CVSS score of 5.3 reflects a medium severity with no confidentiality or integrity impact but potential availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to the repeater HTTP port to trusted sources or disabling the HTTP logging feature if possible to reduce exposure.
CVE-2026-7828: Integer Overflow or Wraparound in uvnc UltraVNC
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 v3.1
Score 5.3medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7828 is an integer overflow vulnerability in UltraVNC repeater (up to version 1.8.2.2) within the HTTP request logging path. The win_log() function allocates memory for list nodes using malloc(sizeof(struct LIST) + strlen(line)), where 'line' is derived from HTTP request URIs. If strlen(line) is large enough, the addition overflows, causing malloc to allocate less memory than needed. Subsequently, strcpy copies the full string into this undersized buffer, causing a heap buffer overflow. The overflow is bounded by the HTTP receive buffer size (153600 bytes), limiting exploitability to a partial heap write. This vulnerability can be triggered remotely without authentication by sending a maximally-sized URI in an HTTP request to the repeater HTTP port. No known exploits are reported in the wild and no vendor patch or official remediation is documented.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a heap buffer overflow via a specially crafted HTTP request URI. The overflow is limited in size by the HTTP receive buffer, resulting in a partial heap overwrite. The CVSS score of 5.3 reflects a medium severity with no confidentiality or integrity impact but potential availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to the repeater HTTP port to trusted sources or disabling the HTTP logging feature if possible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- securin
- Date Reserved
- 2026-05-05T03:40:50.298Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a44a07a27e9c79719fbd732
Added to database: 07/01/2026, 05:07:06 UTC
Last enriched: 07/08/2026, 12:54:22 UTC
Last updated: 08/16/2026, 01:24:04 UTC
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.