CVE-2026-4599: Incomplete Comparison with Missing Factors in jsrsasign
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-4599 in jsrsasign arises from incomplete comparison logic in the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions within src/crypto-1.1.js. These incorrect compareTo checks accept out-of-range candidates, enabling an attacker to bias the Digital Signature Algorithm (DSA) nonces used during signature generation. Exploiting this flaw allows recovery of the private key, representing a critical cryptographic compromise. The issue is classified under CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator). According to Red Hat's advisory, no suitable mitigation or fix currently meets their standards for deployment and stability. The vulnerability affects jsrsasign versions from 7.0.0 through 11.1.1 inclusive.
Potential Impact
Exploitation of this vulnerability allows an attacker to recover the private key by biasing DSA nonces during signature generation. This compromises the confidentiality and integrity of cryptographic operations relying on the affected jsrsasign versions. The CVSS v4.0 base score is 9.3 (critical), reflecting network attack vector, no required privileges or user interaction, and high confidentiality and integrity impact. Availability is not affected.
Mitigation Recommendations
No official patch or mitigation meeting Red Hat's criteria for ease of use, applicability, and stability is currently available. Users are advised to monitor vendor advisories for updates. Consider upgrading to a version of jsrsasign that addresses this vulnerability once available. Until then, avoid using affected versions (7.0.0 through 11.1.1) in security-critical contexts.
CVE-2026-4599: Incomplete Comparison with Missing Factors in jsrsasign
Description
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.
CVSS v4.0
Score 9.3critical
Affected software
jsrsasign
org.webjars.npm:jsrsasign
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-4599 in jsrsasign arises from incomplete comparison logic in the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions within src/crypto-1.1.js. These incorrect compareTo checks accept out-of-range candidates, enabling an attacker to bias the Digital Signature Algorithm (DSA) nonces used during signature generation. Exploiting this flaw allows recovery of the private key, representing a critical cryptographic compromise. The issue is classified under CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator). According to Red Hat's advisory, no suitable mitigation or fix currently meets their standards for deployment and stability. The vulnerability affects jsrsasign versions from 7.0.0 through 11.1.1 inclusive.
Potential Impact
Exploitation of this vulnerability allows an attacker to recover the private key by biasing DSA nonces during signature generation. This compromises the confidentiality and integrity of cryptographic operations relying on the affected jsrsasign versions. The CVSS v4.0 base score is 9.3 (critical), reflecting network attack vector, no required privileges or user interaction, and high confidentiality and integrity impact. Availability is not affected.
Mitigation Recommendations
No official patch or mitigation meeting Red Hat's criteria for ease of use, applicability, and stability is currently available. Users are advised to monitor vendor advisories for updates. Consider upgrading to a version of jsrsasign that addresses this vulnerability once available. Until then, avoid using affected versions (7.0.0 through 11.1.1) in security-critical contexts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-03-22T16:25:57.565Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-4599","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19409","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19410","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6720","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6568","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6912","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6926","vendor":"Red Hat"}]
Threat ID: 69c0d39df4197a8e3b12da43
Added to database: 03/23/2026, 05:46:05 UTC
Last enriched: 08/11/2026, 15:25:42 UTC
Last updated: 09/14/2026, 10:01:31 UTC
Views: 323
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.