Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-7831: UltraVNC viewer through 1.8.2.2 contains an off-by-one stack buffer overflow in the RFB ServerInit message han

40
This month
HIGH 7.6UPGRADE

CVE-2026-7831 is a high-severity flaw (CVSS 7.6) affecting ultravnc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

UltraVNC viewer through 1.8.2.2 contains an off-by-one stack buffer overflow in the RFB ServerInit message handler. In vncviewer/ClientConnection.cpp, when the server-supplied nameLength equals exactly 2024 the code declares a 2024-byte stack buffer _dn[2024] and calls ReadString(_dn, 2024). ReadString writes the NUL terminator at buf[length], i.e., _dn[2024], one byte past the end of the stack buffer. A malicious VNC server can trigger this cond

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.6 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.7% (top 46%)
CISA exploited listNo
WeaknessCWE-193, CWE-787
Published2026-07-01
Last modified2026-10-25
Publisher (CNA): securin · Vendor: uvnc

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

uvnc ultravnc UPGRADE
Affected: <= 1.8.2.2
Fixed in: newer than 1.8.2.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ultravnc || rpm -q ultravnc || ultravnc --version
2. UPGRADE to newer than 1.8.2.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ultravnc
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ultravnc
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-7831?

ultravnc: upgrade to newer than 1.8.2.2. Exact commands for each OS are on this page.

Is CVE-2026-7831 being exploited?

CVE-2026-7831 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-7831 affect?

CVE-2026-7831 affects ultravnc. Severity is high (CVSS 7.6). UltraVNC viewer through 1.8.2.2 contains an off-by-one stack buffer overflow in the RFB ServerInit message handler. In vncviewer/ClientConnection.cpp, when the server-supplied nameLength equals exactly 2024 the code declares a 2024-byte sta

How urgent is CVE-2026-7831?

Priority 40/100. High severity

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.