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.3%top 79%

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/08/2026, 12:53:04 UTC

Technical Analysis

UltraVNC through version 1.8.2.2 employs a weak PRNG in the vncRandomBytes() function for generating 16-byte VNC authentication challenges. The function seeds the libc rand() with a combination of time(0), getpid(), and rand(), producing a seed space of approximately 31 bits based on publicly observable values. This predictability allows an attacker who can observe the authentication exchange to enumerate the seed space and predict the challenge bytes within seconds, facilitating forgery or offline brute-force of authentication responses. On Windows, an alternative code path using CryptGenRandom may be present, but its reachability in shipped binaries is under investigation. There is no current official fix or patch disclosed.

Potential Impact

The vulnerability allows attackers who can observe the authentication exchange to predict the VNC authentication challenge due to the weak PRNG seeding. This can lead to forgery of authentication challenges or enable offline brute-force attacks against authentication responses, potentially compromising authentication integrity. The impact is rated as medium with limited confidentiality and integrity impact and no availability impact.

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 additional protective measures such as restricting network access to UltraVNC services and monitoring for suspicious authentication attempts. No vendor advisory or patch links are currently provided.

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/08/2026, 12:53:04 UTC

Last updated: 08/15/2026, 03:28:18 UTC

Views: 54

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