All reports
High

jsrsasign is vulnerable to DoS through Infinite Loop when processing zero or negative inputs

Affected versions

Affected versions
< 11.1.1
Fixed version
11.1.1
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-4598

Probability of exploitation in the next 30 days: 0.63%

FIRST EPSS · 2026-11-23

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

Links