# CVE-2026-4599: jsrsasign: Incomplete Comparison Allows DSA Private Key Recovery via Biased Nonce Generation

- Severity: Critical 9.3 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-23T05:00:12.522Z
- Modified: 2026-09-10T13:20:21.650Z
- Also known as: GHSA-5jx8-q4cp-rhh6
- Weaknesses: CWE-338, CWE-1023
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- jsrsasign: from 7.0.0 before 11.1.1
- org.webjars.npm:jsrsasign: from 8.0.12 before *
- migration-toolkit-virtualization/mtv-console-plugin-rhel9: no versions given (not affected: from 1779139872 before *; from 1778927462 before *)
- quay/quay-rhel8: no versions given (not affected: from 1775169155 before *; from 1775253092 before *; from 1775169219 before *; from 1775169218 before *)
- quay/quay-rhel9: no versions given (not affected: from 1779204086 before *)
- jsrsasign (npm): from 7.0.0 before 11.1.1
- kjur jsrsasign: from 7.0.0 before 11.1.1

## Every score

- snyk: CVSS:4.0 9.3 Critical `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`
- snyk: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- redhat-SADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://gist.github.com/Kr0emer/081681818b51605c91945126d74b4f20> (exploit, mitigation, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370939> (third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812264> (web)
- <https://github.com/kjur/jsrsasign/pull/647> (issue-tracking, web)
- <https://github.com/kjur/jsrsasign/commit/ee4b013478366cb16cea9a4bdfb218b6077f83b1> (patch, web)
- <https://access.redhat.com/security/cve/CVE-2026-4599> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2450207> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4599.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:19409> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19410> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6912> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6720> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6568> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19375> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6926> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4599> (advisory)
- <https://github.com/kjur/jsrsasign> (package)

## Sources

- CVE List: [CVE-2026-4599](https://www.cve.org/CVERecord?id=CVE-2026-4599), CVE Terms of Use, modified 2026-09-10
- GitHub Advisory Database: [GHSA-5jx8-q4cp-rhh6](https://github.com/advisories/GHSA-5jx8-q4cp-rhh6), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-4599](https://nvd.nist.gov/vuln/detail/CVE-2026-4599), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-4599 · Whole record: https://cve.day/CVE-2026-4599.json · Rebuilt by cve.day 2026-11-25T22:59:16.444Z
