PatchSiren cyber security CVE debrief
CVE-2026-4598 Kjur CVE debrief
CVE-2026-4598 is a high-severity vulnerability in the jsrsasign package, affecting versions before 11.1.1. The issue arises from the bnModInverse function in ext/jsbn2.js, which can enter an infinite loop when given zero or negative inputs. This allows an attacker to permanently hang a process by providing crafted values. The vulnerability has a CVSS score of 7.7 and is considered high severity. Defenders should prioritize patching affected systems to limit exposure.
- Vendor
- Kjur
- Product
- jsrsasign
- CVSS
- HIGH 7.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-03-23
- Original CVE updated
- 2026-09-10
- Advisory published
- 2026-03-23
- Advisory updated
- 2026-09-10
Who should care
Developers and administrators using the jsrsasign package, especially in Node.js environments, should be aware of this vulnerability. Given the high severity and potential for denial-of-service attacks, immediate attention is recommended for systems that have not been patched to version 11.1.1 or later.
Technical summary
The CVE-2026-4598 vulnerability is caused by a flaw in the bnModInverse function within the ext/jsbn2.js file of the jsrsasign package. This function is part of the BigInteger implementation and can enter an infinite loop when it receives zero or negative inputs. Specifically, calling modInverse(0, m) or modInverse(-1, m) can trigger this vulnerability, potentially allowing an attacker to cause a denial-of-service by hanging the process. The vulnerability affects all versions of jsrsasign before 11.1.1.
Defensive priority
High priority due to potential for denial-of-service attacks with CVSS score of 7.7
Recommended defensive actions
- Inventory affected systems using jsrsasign versions before 11.1.1
- Review official advisories for detailed mitigation strategies
- Apply the patch from version 11.1.1 or later
- Implement compensating controls to detect and prevent exploitation attempts
- Monitor systems for unusual activity indicative of potential exploitation
Evidence notes
The primary evidence for this vulnerability comes from the NVD and CVE records. The vulnerability affects jsrsasign versions before 11.1.1. The bnModInverse function's flaw allows for potential denial-of-service attacks. Defenders should verify the version of jsrsasign in use and ensure it is updated to 11.1.1 or later.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-4598 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-4598
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-4598 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-4598
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264
[email protected] - Exploit, Mitigation, Third Party Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/kjur/jsrsasign/pull/648
[email protected] - Issue Tracking
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.