CVE-2026-44040
Last modified
CVE-2026-44040 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uvnc | Ultravnc | <= 1.8.2.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-44040?
How severe is CVE-2026-44040?
How do I fix CVE-2026-44040?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-44023Docling Core defines core data types and transformations for…8.6
- CVE-2026-44024Fluentd collects events from various data sources and writes…9.8
- CVE-2026-44025Fluentd collects events from various data sources and writes…7.5
- CVE-2026-44028An issue was discovered in Nix before 2.34.7 and Lix before …7.5
- CVE-2026-44029An issue was discovered in Nix before 2.34.7. Writing to arb…5.3
- CVE-2026-4404Use of hard coded credentials in GoHarbor Harbor version 2.1…9.4
- CVE-2026-44041UltraVNC through 1.8.2.2 contains an out-of-bounds read in t…6.5
- CVE-2026-44042UltraVNC repeater through 1.8.2.2 contains an off-by-one err…3.7
- CVE-2026-44046Use of Less Trusted Source vulnerability in Apache APISIX. …5.8
- CVE-2026-44047An SQL injection vulnerability in the MySQL CNID backend in …8.8
- CVE-2026-44048A stack-based buffer overflow via UCS-2 type confusion in co…8.8
- CVE-2026-44049An out-of-bounds write due to improper null termination in c…7.5
Are you affected by CVE-2026-44040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
