Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 92%

CVE-2026-7830: Inadequate Encryption Strength in uvnc UltraVNC

0
High
VulnerabilityCVE-2026-7830cvecve-2026-7830
Published: 07/01/2026 (07/01/2026, 03:33:24 UTC)
Source: CVE Database V5
Vendor/Project: uvnc
Product: UltraVNC

Description

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.

CVSS v3.1

Score 7.4high

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 05:21:46 UTC

Technical Analysis

UltraVNC through version 1.8.2.2 implements the MS-Logon II authentication scheme using a Diffie-Hellman key exchange with parameters limited to 64 bits, controlled by DH_MAX_BITS. Such a small key size is vulnerable to rapid discrete logarithm attacks like Pollard's rho algorithm, enabling key recovery in under a second on modern hardware. Additionally, the private exponent is generated using a weak random number generator seeded by time(NULL) and based on libc rand(), resulting in approximately 31 bits of entropy. This makes the private exponent recoverable within a minute by a passive attacker. Consequently, an attacker who can sniff or intercept the MS-Logon II handshake can derive the shared DH key and decrypt the encapsulated username and password, leading to full credential disclosure. The vulnerability affects only the legacy MS-Logon II scheme; the newer MS-Logon III scheme using X25519 and AES-256-GCM is not impacted. No official remediation or patch information is provided.

Potential Impact

An attacker capable of passively observing the MS-Logon II handshake can recover the shared Diffie-Hellman key due to weak cryptographic parameters and poor random number generation. This enables decryption of usernames and passwords transmitted during authentication, resulting in full credential disclosure. The vulnerability does not affect availability or integrity but compromises confidentiality of credentials. MS-Logon III connections remain secure.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the legacy MS-Logon II authentication scheme in UltraVNC and prefer MS-Logon III, which uses stronger cryptography (X25519 and AES-256-GCM). Network defenders should consider disabling or restricting MS-Logon II usage to mitigate credential exposure risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
securin
Date Reserved
2026-05-05T03:40:59.002Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a44a07a27e9c79719fbd73a

Added to database: 07/01/2026, 05:07:06 UTC

Last enriched: 07/01/2026, 05:21:46 UTC

Last updated: 07/01/2026, 21:36:01 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses