CVE-2026-7829

UltraVNC repeater authenticated out-of-bounds write in rule parser via oversized token

Published Jul 1, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An authenticated administrator can configure a rule with a token longer than the 25-byte or 16-byte buffers used by the repeater’s rule parser. The routine calls strncpy_s to copy the token but then unconditionally writes a terminating NUL byte past the end of the stack buffer, creating an out‑of‑bounds write (CWE‑787). If exploited, an attacker can corrupt adjacent stack data and gain arbitrary code execution on the repeater host.

Affected Systems

The flaw is present in UltraVNC version 1.8.2.2 and earlier releases, as shipped by uvnc:UltraVNC. Any system that runs this version of the repeater and accepts rule definitions through the web GUI or administrative clients is vulnerable.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity. No EPSS data is available and the vulnerability is not listed in the CISA KEV catalog, implying that a public exploit has not yet been reported. Nevertheless, the vulnerability is post‑authentication; an attacker who has obtained administrator credentials—either via the default CVE‑2026‑7839 password or by compromising existing accounts—can create a malicious rule and trigger the out‑of‑bounds write, thus executing arbitrary code on the host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade UltraVNC to a version that includes the fixed rule‑parser buffer bounds check and removed the vulnerable write.
  • Restrict or disable the rule‑parsing feature for the repeater, or limit write access to the repeater configuration to a minimal set of trusted administrators.
  • Immediately change or disable the default administrator password used by the repeater, and enforce strong, unique credentials for all administrative accounts.

Generated by OpenCVE AI on July 1, 2026 at 13:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Uvnc
Uvnc ultravnc
Vendors & Products Uvnc
Uvnc ultravnc
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title UltraVNC repeater authenticated out-of-bounds write in rule parser via oversized token
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
securin
Published
Updated
Jul 9, 2026, 4:35 AM
Reserved
May 5, 2026, 3:40 AM
Status
Modified
Published
Jul 1, 2026, 5:16 AM
Modified
Oct 25, 2026, 5:10 PM