Vulnerability 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)).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jsrsasign Project | Jsrsasign | < 11.1.1 |
Related Weaknesses (CWE)
References
- https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264ExploitMitigationThird Party Advisory
- https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc440033259432Patch
- https://github.com/kjur/jsrsasign/pull/648Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938Third Party Advisory
FAQ
What is CVE-2026-4598?
CVE-2026-4598 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 in...
How severe is CVE-2026-4598?
CVE-2026-4598 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4598?
Check the references section above for vendor advisories and patch information. Affected products include: Jsrsasign Project Jsrsasign.