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
CVE-2026-4599 is a vulnerability in the jsrsasign package affecting versions from 7.0.0 up to and including 11.1.1. The issue arises from incomplete comparison logic in the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions within src/crypto-1.1.js. This flaw causes acceptance of out-of-range candidates due to incorrect compareTo checks, which biases DSA nonces used during signature generation. Exploiting this bias enables an attacker to recover the private key. The vulnerability is tracked under CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator). Red Hat has published multiple advisories addressing this vulnerability, indicating that patches or updates are available for affected products.
Potential Impact
An attacker exploiting this vulnerability can recover private keys by leveraging biased DSA nonces caused by incomplete comparison checks. This compromises the cryptographic integrity of signatures generated using the affected jsrsasign versions, potentially leading to unauthorized actions or data breaches where these keys are used. The CVSS 4.0 score of 9.3 reflects critical impact with network attack vector, low attack complexity, and no privileges or user interaction required.
Mitigation Recommendations
Red Hat has issued multiple advisories referencing CVE-2026-4599, indicating that fixes are available. Users of affected jsrsasign versions (7.0.0 through 11.1.1) should apply the vendor-provided patches or update to fixed versions as per Red Hat's guidance. Patch status is confirmed by vendor advisories linked in the input data. No additional mitigation steps are specified beyond applying these official fixes.
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
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
CVE-2026-4599 is a vulnerability in the jsrsasign package affecting versions from 7.0.0 up to and including 11.1.1. The issue arises from incomplete comparison logic in the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions within src/crypto-1.1.js. This flaw causes acceptance of out-of-range candidates due to incorrect compareTo checks, which biases DSA nonces used during signature generation. Exploiting this bias enables an attacker to recover the private key. The vulnerability is tracked under CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator). Red Hat has published multiple advisories addressing this vulnerability, indicating that patches or updates are available for affected products.
Potential Impact
An attacker exploiting this vulnerability can recover private keys by leveraging biased DSA nonces caused by incomplete comparison checks. This compromises the cryptographic integrity of signatures generated using the affected jsrsasign versions, potentially leading to unauthorized actions or data breaches where these keys are used. The CVSS 4.0 score of 9.3 reflects critical impact with network attack vector, low attack complexity, and no privileges or user interaction required.
Mitigation Recommendations
Red Hat has issued multiple advisories referencing CVE-2026-4599, indicating that fixes are available. Users of affected jsrsasign versions (7.0.0 through 11.1.1) should apply the vendor-provided patches or update to fixed versions as per Red Hat's guidance. Patch status is confirmed by vendor advisories linked in the input data. No additional mitigation steps are specified beyond applying these official fixes.
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: 07/24/2026, 22:41:21 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 284
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.