NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-4598: jsrsasign is vulnerable to DoS through Infinite Loop when processing zero or negative inputs

highCVSS 4.0 7.7 · 3.1 7.5GHSA-8g7p-jf3g-gxcp

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

Published Mar 23, 2026 · Updated Jul 21, 2026

Affected packages

jsrsasign

Ecosystem
npm
Affected
< 11.1.1
Fixed in
11.1.1
Check
npm ls jsrsasign

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries