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 88%

CVE-2026-44040: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in uvnc UltraVNC

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

Description

UltraVNC through 1.8.2.2 uses a cryptographically weak pseudo-random number generator to produce VNC authentication challenge bytes. In rfb/vncauth.c:119-129, the vncRandomBytes() function seeds libc rand() with time(0) + getpid() + rand() and generates a 16-byte challenge. The combined seed space is approximately 31 bits (libc rand() internal state) and is entirely determined by publicly-observable values (wall-clock time and process ID). An attacker who can observe the authentication exchange can enumerate the seed space and predict the challenge within seconds, enabling forgery or offline brute-forcing of responses. Note: on Windows, the active code path may use vncEncryptBytes2.cpp which calls CryptGenRandom; reachability on shipped Windows binaries requires compile-graph verification and is under investigation.

CVSS v3.1

Score 4.8medium

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 05:22:55 UTC

Technical Analysis

UltraVNC through version 1.8.2.2 uses a weak PRNG for generating VNC authentication challenges. The vncRandomBytes() function seeds the libc rand() function with a combination of time(0), getpid(), and rand(), resulting in a combined seed space of approximately 31 bits. Because these seed values are publicly observable or guessable, an attacker can enumerate the seed space and predict the 16-byte challenge within seconds. This predictability undermines the security of the VNC authentication mechanism, allowing potential forgery or offline brute-force attacks on authentication responses. On Windows, an alternative code path using CryptGenRandom may be present, but its reachability in shipped binaries is under investigation. No vendor advisory or patch is currently available.

Potential Impact

The vulnerability allows an attacker who can observe the VNC authentication exchange to predict the authentication challenge bytes due to the weak PRNG seeding. This can enable forgery of authentication challenges or offline brute-force attacks against authentication responses, potentially compromising authentication integrity. The impact is limited to confidentiality and integrity with no reported impact on availability. The CVSS score of 4.8 reflects a medium severity with network attack vector, high attack complexity, no privileges required, and no user interaction needed.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider alternative secure VNC solutions or additional network-level protections such as VPNs or strong access controls to mitigate exposure. Avoid relying solely on UltraVNC authentication in environments where an attacker can observe authentication exchanges.

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:37.003Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a44a07827e9c79719fbd5b8

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

Last enriched: 07/01/2026, 05:22:55 UTC

Last updated: 07/01/2026, 21:35:28 UTC

Views: 7

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