CVE-2026-4599
CRITICAL 9.3CVSS 4.0jsrsasign: Incomplete Comparison Allows DSA Private Key Recovery via Biased Nonce Generation
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.
- Published
- 23 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1023CWE-338
- Also known as
- GHSA-5jx8-q4cp-rhh6
- Sources
- NVDJSONOSV GHSA-5jx8-q4cp-rhh6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kjur | jsrsasigncpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:* |
>= 7.0.0, < 11.1.1 | 11.1.1 |
| OSV | npm | jsrsasign | >= 7.0.0, < 11.1.1 | 11.1.1 |
References
- https://gist.github.com/Kr0emer/081681818b51605c91945126d74b4f20 · Exploit, Mitigation, Third Party Advisory, WEB
- https://github.com/kjur/jsrsasign/commit/ee4b013478366cb16cea9a4bdfb218b6077f83b1 · Patch, WEB
- https://github.com/kjur/jsrsasign/pull/647 · Issue Tracking, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812264 · WEB
- https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370939 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:19375 · WEB
- https://access.redhat.com/errata/RHSA-2026:19409 · WEB
- https://access.redhat.com/errata/RHSA-2026:19410 · WEB
- https://access.redhat.com/errata/RHSA-2026:6568 · WEB
- https://access.redhat.com/errata/RHSA-2026:6720 · WEB
- https://access.redhat.com/errata/RHSA-2026:6912 · WEB
- https://access.redhat.com/errata/RHSA-2026:6926 · WEB
- https://access.redhat.com/security/cve/CVE-2026-4599 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2450207 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4599.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-4599 · ADVISORY
- https://github.com/kjur/jsrsasign · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Mar 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Mar 2026)