High · published March 23, 2026
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)).
| Product | Versions | Fixed in |
|---|---|---|
| kjur/jsrsasign | < 11.1.1 | 11.1.1 |