Skip to main content

UltraVNC CVE-2026-7830

| EUVDEUVD-2026-40882 HIGH
Inadequate Encryption Strength (CWE-326)
2026-07-01 securin GHSA-gf4x-6rw3-q4x6
7.4
CVSS 3.1 · Vendor: securin
Share

Severity by source

Vendor (securin) PRIMARY
7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
5.9 MEDIUM

AC:H because the attacker must observe the handshake (sniff/MITM); PR:N/UI:N as no auth or interaction is needed; primary impact is credential confidentiality (C:H), with integrity/availability not directly affected.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (securin).

CVSS VectorVendor: securin

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jul 01, 2026 - 05:22 vuln.today
CVE Published
Jul 01, 2026 - 03:33 cve.org
HIGH 7.4

DescriptionCVE.org

UltraVNC through 1.8.2.2 uses inadequate cryptography in the MS-Logon II authentication scheme (rfbUltraVNC_MsLogonIIAuth). In rfb/dh.cpp the Diffie-Hellman key exchange is performed with parameters that fit in an unsigned 64-bit integer (DH_MAX_BITS controls the prime size). A 64-bit DH key can be broken by Pollard's rho algorithm in under one second on current hardware. Additionally, the private exponent is generated by the rng() function, which multiplies three libc rand() values seeded from time(NULL). With approximately 31 bits of internal state and a time-based seed, the private exponent is recoverable in under a minute by a passive observer. A network attacker who can observe the MS-Logon II handshake (via sniffing, recording, or man-in-the-middle) can derive the shared DH key and decrypt the encapsulated username and password, resulting in full credential disclosure. This affects legacy MS-Logon II connections; MS-Logon III (X25519 + AES-256-GCM) is unaffected.

AnalysisAI

Credential disclosure in UltraVNC through 1.8.2.2 lets a passive network observer break the MS-Logon II authentication handshake and recover plaintext usernames and passwords. The rfbUltraVNC_MsLogonIIAuth scheme relies on a Diffie-Hellman exchange whose prime fits in an unsigned 64-bit integer and a private exponent derived from time(NULL)-seeded libc rand(), both of which are trivially solvable, so an attacker who sniffs or man-in-the-middles the exchange derives the shared key in seconds to a minute. There is no public exploit identified at time of analysis and no EPSS/KEV signal supplied; CVSS is 7.4 (AC:H reflecting the need to observe the handshake), and MS-Logon III (X25519 + AES-256-GCM) is not affected.

Technical ContextAI

The flaw lives in UltraVNC's RFB protocol extension for MS-Logon II, implemented in rfb/dh.cpp. Diffie-Hellman key agreement is meant to protect the encapsulated credential blob, but DH_MAX_BITS caps the prime at a size that fits in a 64-bit unsigned integer; a 64-bit discrete-log problem is solvable by Pollard's rho in under a second on commodity hardware. Compounding this, the private exponent comes from a custom rng() that multiplies three libc rand() outputs seeded from time(NULL), yielding roughly 31 bits of effective entropy tied to a guessable timestamp, so the exponent itself is brute-forceable in under a minute. This maps to CWE-326 (Inadequate Encryption Strength): the cryptographic primitive is structurally correct but uses parameter sizes and a PRNG far below any meaningful security margin. The affected component per CPE is cpe:2.3:a:uvnc:ultravnc:*:*:*:*:*:*:*:* - the UltraVNC server/viewer stack on Windows.

RemediationAI

No vendor-released patch version is identified at time of analysis (the references point to the vendor homepage https://uvnc.com/ and the repository https://github.com/ultravnc/UltraVNC, not to a tagged fixed release), so confirm the current fixed build directly with UltraVNC before relying on an upgrade. The most effective mitigation is to stop using MS-Logon II and switch authentication to MS-Logon III (X25519 + AES-256-GCM), which is unaffected; where MS-Logon II must remain, tunnel all VNC traffic through an encrypted transport such as an SSH tunnel, IPsec, or a VPN so the DH handshake is never observable in cleartext on the wire, accepting the added configuration and latency overhead. Additionally restrict VNC (typically TCP 5900/5901 and the 5800 web port) to trusted management networks via firewall rules and disable it on untrusted or shared LAN segments, with the trade-off of reduced remote reachability for legitimate operators. Rotate any credentials that may have traversed MS-Logon II sessions on untrusted networks, since prior handshakes could have been recorded for offline recovery.

CVE-2020-37133 HIGH POC
7.5 Feb 05

UltraVNC Launcher 1.2.4.0 contains a denial of service vulnerability in the Repeater Host configuration field that allow

CVE-2026-4962 MEDIUM POC
6.4 Mar 27

UltraVNC versions up to 1.6.4.0 suffer from an uncontrolled search path vulnerability in version.dll loaded by the Servi

CVE-2020-37132 MEDIUM POC
6.2 Feb 05

UltraVNC Launcher 1.2.4.0 contains a denial of service vulnerability in its password configuration properties that allow

CVE-2019-8280 CRITICAL
9.8 Mar 08

UltraVNC revision 1203 has out-of-bounds access vulnerability in VNC client inside RAW decoder, which can potentially re

CVE-2019-8275 CRITICAL
9.8 Mar 08

UltraVNC revision 1211 has multiple improper null termination vulnerabilities in VNC server code, which result in out-of

CVE-2019-8274 CRITICAL
9.8 Mar 08

UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer offer handler, w

CVE-2019-8273 CRITICAL
9.8 Mar 08

UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer request handler,

CVE-2019-8272 CRITICAL
9.8 Mar 08

UltraVNC revision 1211 has multiple off-by-one vulnerabilities in VNC server code, which can potentially result in code

CVE-2019-8271 CRITICAL
9.8 Mar 08

UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer handler, which c

CVE-2019-8268 CRITICAL
9.8 Mar 08

UltraVNC revision 1206 has multiple off-by-one vulnerabilities in VNC client code connected with improper usage of Clien

CVE-2019-8266 CRITICAL
9.8 Mar 08

UltraVNC revision 1207 has multiple out-of-bounds access vulnerabilities connected with improper usage of ClientConnecti

CVE-2019-8265 CRITICAL
9.8 Mar 08

UltraVNC revision 1207 has multiple out-of-bounds access vulnerabilities connected with improper usage of SETPIXELS macr

Share

CVE-2026-7830 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy