CVE-2026-7829: Out-of-bounds Write in uvnc UltraVNC
UltraVNC repeater through 1.8.2.2 contains a post-authentication out-of-bounds write in the allow/deny rule parser. In repeater/webgui/settings.c:225-272, after strncpy_s copies a rule token into temp1[rule1] (25-byte destination) or temp2/temp3 (16-byte destination), the code unconditionally writes a NUL terminator at temp1[rule1][len] = 0 without clamping len to the destination size. When an authenticated administrator saves a rule with a token length equal to or greater than the destination size, the NUL byte is written one or more bytes past the end of the stack-allocated array, corrupting adjacent stack data. An attacker who has obtained admin credentials (including via CVE-2026-7839 default password) can trigger this to gain code execution on the repeater host.
AI Analysis
Technical Summary
CVE-2026-7829 is a post-authentication out-of-bounds write vulnerability in UltraVNC repeater through version 1.8.2.2. The flaw exists in the allow/deny rule parser within repeater/webgui/settings.c, where after copying a rule token into fixed-size buffers (temp1[rule1] with 25 bytes, temp2/temp3 with 16 bytes), the code writes a NUL terminator at an index equal to the token length without verifying that the length fits within the buffer. This results in a stack buffer overflow that corrupts adjacent stack data. An attacker with administrative credentials can exploit this to achieve code execution on the repeater host.
Potential Impact
Successful exploitation allows an attacker with administrative privileges to execute arbitrary code on the UltraVNC repeater host, potentially compromising the system's confidentiality, integrity, and availability. The vulnerability is rated with a CVSS 3.1 score of 7.2 (High), reflecting network attack vector, low attack complexity, required high privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access to trusted users only and monitor for unauthorized credential use. Avoid using default or weak passwords (see CVE-2026-7839) to reduce risk of credential compromise.
CVE-2026-7829: Out-of-bounds Write in uvnc UltraVNC
Description
UltraVNC repeater through 1.8.2.2 contains a post-authentication out-of-bounds write in the allow/deny rule parser. In repeater/webgui/settings.c:225-272, after strncpy_s copies a rule token into temp1[rule1] (25-byte destination) or temp2/temp3 (16-byte destination), the code unconditionally writes a NUL terminator at temp1[rule1][len] = 0 without clamping len to the destination size. When an authenticated administrator saves a rule with a token length equal to or greater than the destination size, the NUL byte is written one or more bytes past the end of the stack-allocated array, corrupting adjacent stack data. An attacker who has obtained admin credentials (including via CVE-2026-7839 default password) can trigger this to gain code execution on the repeater host.
CVSS v3.1
Score 7.2high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7829 is a post-authentication out-of-bounds write vulnerability in UltraVNC repeater through version 1.8.2.2. The flaw exists in the allow/deny rule parser within repeater/webgui/settings.c, where after copying a rule token into fixed-size buffers (temp1[rule1] with 25 bytes, temp2/temp3 with 16 bytes), the code writes a NUL terminator at an index equal to the token length without verifying that the length fits within the buffer. This results in a stack buffer overflow that corrupts adjacent stack data. An attacker with administrative credentials can exploit this to achieve code execution on the repeater host.
Potential Impact
Successful exploitation allows an attacker with administrative privileges to execute arbitrary code on the UltraVNC repeater host, potentially compromising the system's confidentiality, integrity, and availability. The vulnerability is rated with a CVSS 3.1 score of 7.2 (High), reflecting network attack vector, low attack complexity, required high privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access to trusted users only and monitor for unauthorized credential use. Avoid using default or weak passwords (see CVE-2026-7839) to reduce risk of credential compromise.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- securin
- Date Reserved
- 2026-05-05T03:40:57.359Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a44a07a27e9c79719fbd736
Added to database: 07/01/2026, 05:07:06 UTC
Last enriched: 07/01/2026, 05:21:53 UTC
Last updated: 07/01/2026, 22:10:53 UTC
Views: 11
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.