CVE-2026-4599: Vulnerability in Kjur Jsrsasign

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

npm, CWE-338, CWE-1023

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-5jx8-q4cp-rhh6
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-338, CWE-1023
Published
23 Mar 2026
Last change
10 Sept 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Kjur Jsrsasign From 7.0.0 before 11.1.1. Fixed in 11.1.1

Affected packages

Vulnerable version ranges and fixed releases

  • jsrsasign npm, Affected from 7.0.0 before 11.1.1. Fixed in 11.1.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related