Versions of the package jsrsasign before 11.1.1 are vulnerable to Division by zero due to the RSASetPublic/KEYUTIL parsing path in ext/rsa.js and the BigInteger.modPowInt reduction logic in ext/jsbn.js. An attacker can force RSA public-key operations (e.g., verify and encryption) to collapse to deterministic zero outputs and hide “invalid key” errors by supplying a JWK whose modulus decodes to zero.
References
| Link | Resource |
|---|---|
| https://gist.github.com/Kr0emer/5366b7364c4fbf7e754bc377f321e9f3 | Exploit Mitigation Third Party Advisory |
| https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f | Patch |
| https://github.com/kjur/jsrsasign/pull/649 | Issue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371176 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-03-23 06:16
Updated : 2026-03-23 16:08
NVD link : CVE-2026-4603
Mitre link : CVE-2026-4603
CVE.ORG link : CVE-2026-4603
JSON object : View
Products Affected
jsrsasign_project
- jsrsasign
CWE
CWE-369
Divide By Zero
