CVE-2026-4598

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

Score
CVSS 4.0 8.7 High
Status
Modified - report@snyk.io
Published
2026-03-23
Last modified
2026-09-10
Weaknesses
CWE-1287, CWE-835

Affected products

References