SecurinZero Days
    Email Us
    Zero-Day Research/CVE-2026-7829
    ▲ HighCVSS 7.2✓ Patched

    OOB NUL Write in Repeater Rule Parser (UltraVNC — post-auth)

    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.

    CVE IDCVE-2026-7829
    CVSS v3.17.2 High
    VendorUltraVNC
    CWECWE-787: Out-of-bounds Write
    DisclosedJun 3, 2026
    StatusFixed
    All advisories
    • 01Description
    • 02Proof of Concept
    • 03Vulnerable Code
    • 04Trigger Conditions
    • 05Impact
    • 06Remediation
    • 07Timeline
    • 08References
    01/Description

    What this actually is.

    Technical background, root cause, and affected surface.

    In repeater/webgui/settings.c, after strncpy_s copies a rule token into temp1[rule1] (25-byte destination), the code unconditionally writes temp1[rule1][len]=0 without clamping len to the destination size. When an admin saves a rule with a token of 25+ bytes, the NUL byte is written 1+ bytes past the 25-byte stack array boundary. Same pattern at lines 248 and 264 (destSize=16).

    Vendor
    UltraVNC
    Product
    UltraVNC Repeater
    Severity
    High
    CVSS Score
    7.2
    Status
    Fixed
    Vector
    CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    CWE
    CWE-787: Out-of-bounds Write
    02/Proof of Concept

    From one request
    to root shell.

    Reproduced in a sandboxed environment. Requires only LAN or WiFi adjacency.

    7.2CVSS 3.1
    VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    ScopeUnchanged
    ImpactC:H / I:H / A:H
    SeverityHigh

    No standalone exploit. Chain with CVE-2026-7839 (admin:adminadmi2): POST admin rule via HTTP UI with 25-byte token → NUL written at stack offset 25 → stack corruption.

    03/Vulnerable Code

    The bug, and the fix.

    strncpy_s(temp1[rule1], 25, pos, len); // settings.c:232 — truncates at 24 temp1[rule1][len] = 0; // OOB NUL when len >= 25 // Same pattern at lines 248, 264 (destSize=16)

    Root cause: Direct array index write temp1[rule1][len]=0 not guarded by destination size (25). strncpy_s prevents buffer overread but does not prevent the unconditional subsequent write. Pattern repeated at three call sites.

    04/Trigger Conditions

    When does this fire?

    All conditions must be true for the exploit to succeed.

    01

    Attacker authenticates to HTTP admin (default credentials CVE-2026-7839 or compromised account). 2. Submits allow/deny rule via web UI with a token ≥25 characters. 3. Parser calls strncpy_s then writes token[len]=0 at out-of-bounds stack location.

    Required
    05/Impact

    What an attacker does to you.

    Post-exploitation outcomes mapped to CVSS impact metrics.

    Stack corruption via single NUL byte write past array boundary. When chained with default password (CVE-2026-7839), yields post-auth code execution on the repeater host.

    06/Remediation

    Fix it. In this order.

    A runbook, not a checklist. Sequence matters — assume compromise before you act.

    Clamp len to destSize-1 before the NUL write. Vendor fix: if (len >= 25) len = 24; added before each NUL-write site; same for 16-byte destinations.

    Securin advisory — For coordinated remediation support or threat-actor briefings related to CVE-2026-7829, contact disclose@securin.io
    07/Disclosure Timeline

    Vendors moved in days.
    Attackers in hours.

    Reconstructed from vendor advisories, CISA bulletins, and Securin research records.

    2026-06-02: Discovered during audit; 2026-06-17: Reported to vendor; 2026-06-17: Fix validated; 2026-09-03: Planned public disclosure

    Timeline recorded · Disclosure coordinated by Securin

    08/References

    Cite, verify, go deeper.

    Primary sources — NVD, CISA KEV, and machine-readable IoC feed.

    NVD

    NVD — CVE-2026-7829

    nvd.nist.gov/vuln/detail/CVE-2026-7829 →
    SEC

    Securin VI — Full Technical Analysis

    vi.securin.io →
    REF

    CVE-2026-7829; repeater/webgui/settings.c:225-272; phase3_deep_analysis.md FINDING-007

    Let Securin level up your security posture.

    Get a live exposure assessment, threat-actor briefing tailored to your sector, and IoC mapping for your SIEM.

    Browse all advisories
    SecurinSecurinZero Days

    Securin's zero-day research operation combines frontier AI models with a decade of offensive expertise — discovering, validating, and coordinating the disclosure of high-impact vulnerabilities at a scale and speed no human team achieves alone.

    Glossary
    © 2026 Securin Inc · CVE Numbering Authority
    Privacy Policy·Data Processing Addendum