CVE-2026-4598
High
Description
Versions of the package jsrsasign before 11.1.1 are vulnerable to Infinite loop via the bnModInverse function in ext/jsbn2.js when the BigInteger.modInverse implementation receives zero or negative inputs, allowing an attacker to hang the process permanently by supplying such crafted values (e.g., modInverse(0, m) or modInverse(-1, m)).
SeverityHigh
CVSS7.5
Exploit probability—
ProductKjur Jsrsasign
PublishedMar 23, 2026
First seenMar 23, 2026
Weakness typeCWE-835CWE-835
How to fix
Update
- kjur jsrsasign11.1.1 or later
- jsrsasign11.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kjur jsrsasign | v < 11.1.1 | 11.1.1 |
| jsrsasignnpm | v < 11.1.1 | 11.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.