IntelligenceAdvisoriesAdvisory
GHSA-5jx8-q4cp-rhh6
jsrsasign: Incomplete Comparison Allows DSA Private Key Recovery via Biased Nonce Generation
In short
What to know.
- Package
- jsrsasign npmfrom 7.0.0 before 11.1.1
- What to do
- Upgrade jsrsasign to 11.1.1 or later.
- Source's rating
- CriticalNoumen has not assessed it.
- Noumen finding
- NMN-2026-0024Candidate. Severity critical, confidence high.
3 December 2026
Source
- OSV record GHSA-5jx8-q4cp-rhh6osv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-5jx8-q4cp-rhh6
- Aliases
- CVE-2026-4599
- Severity
- Critical, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Fixed versions
- 11.1.1
- Published
- 23 March 2026
- Modified
- 21 July 2026
- Source
- OSV record GHSA-5jx8-q4cp-rhh6, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| jsrsasign npm | from 7.0.0 before 11.1.1 | 11.1.1 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
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.
References
- advisorynvd.nist.gov/vuln/detail/CVE-2026-4599
- webgithub.com/kjur/jsrsasign/pull/647
- webgithub.com/kjur/jsrsasign/commit/ee4b013478366cb16cea9a4bdfb218b6077f83b1
- websecurity.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370939
- websecurity.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812264
- websecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4599.json
- packagegithub.com/kjur/jsrsasign
- webgist.github.com/Kr0emer/081681818b51605c91945126d74b4f20
- webbugzilla.redhat.com/show_bug.cgi?id=2450207
- webaccess.redhat.com/security/cve/CVE-2026-4599
- webaccess.redhat.com/errata/RHSA-2026:6926
- webaccess.redhat.com/errata/RHSA-2026:6912
- webaccess.redhat.com/errata/RHSA-2026:6720
- webaccess.redhat.com/errata/RHSA-2026:6568
- webaccess.redhat.com/errata/RHSA-2026:19410
- webaccess.redhat.com/errata/RHSA-2026:19409
- webaccess.redhat.com/errata/RHSA-2026:19375
