CVE-2026-44040 UltraVNC Weak RNG Authentication Challenge
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.
Quick answer
UltraVNC should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.
Who is affected
Affected versions
- <= 1.8.2.2
Fixed versions
- No vendor fix published yet
How to fix it
UltraVNC is affected and no public fixed version is listed in the local advisory data yet. Reduce access, disable risky features where possible, and apply the vendor fix when it is released.
- Check where UltraVNC is installed and whether it is reachable from the internet.
- Limit access to trusted users, trusted networks, or a VPN until a vendor fix is available.
- Disable the affected feature or module if the advisory points to a specific upload, login, admin, chat, or network service path.
- Watch the vendor or advisory source and apply the first supported fix as soon as it is released.
- Review logs for strange access, failed attempts, crashes, file uploads, or unexpected account changes.
Scan now. Google sign-in is only needed to unlock fix guidance.
Verify the fix
- Confirm the installed version is no longer in the affected range.
- Retest the affected page, API, upload, login, chat, container, or network flow.
- Check logs after the change for blocked attempts, crashes, or errors.
- Run a fresh Fixnx scan and save the report.
Related categories
Trusted references
FAQ
What is affected by CVE-2026-44040?
UltraVNC versions listed as affected should be reviewed: <= 1.8.2.2.
What should I fix first?
Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.
How do I confirm the fix worked?
Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.
How are Fixnx security risk categories chosen?
Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.
