CVE-2026-4599: Weak RNG
Versions of the package jsrsasign from 7.0.0 and before 11.1.1 are vulnerable to Incomplete Comparison with Missing Factors via the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions in src/crypto-1.1.js; an attacker can recover the private key by exploiting the incorrect compareTo checks that accept out-of-range candidates and thus bias DSA nonces during signature generation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
jsrsasignto a version that resolves this vulnerability.Fixed in 11.1.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-4599?
CVE-2026-4599 is classified as a high severity vulnerability due to its potential to allow an attacker to recover private keys.
How do I fix CVE-2026-4599?
To fix CVE-2026-4599, update the jsrsasign package to version 11.1.1 or later.
What functions are affected by CVE-2026-4599?
CVE-2026-4599 affects the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions in the jsrsasign package.
What types of attacks can exploit CVE-2026-4599?
CVE-2026-4599 can be exploited through incomplete comparison vulnerabilities, allowing for key recovery attacks.
Which versions of jsrsasign are vulnerable to CVE-2026-4599?
Versions of jsrsasign from 7.0.0 up to, but not including, 11.1.1 are vulnerable to CVE-2026-4599.