# CVE-2026-4603: jsrsasign: Division by Zero Allows Invalid JWK Modulus to Cause Deterministic Zero Output in RSA Operations

- Severity: Medium 5.1 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-23T05:00:14.060Z
- Modified: 2026-06-22T03:18:31.867Z
- Also known as: GHSA-464q-cqxq-xhgr
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- jsrsasign: before 11.1.1
- jsrsasign (npm): before 11.1.1
- kjur jsrsasign: before 11.1.1

## Every score

- snyk: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- snyk: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- GitHub: CVSS:3.1 5.9 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://gist.github.com/Kr0emer/5366b7364c4fbf7e754bc377f321e9f3> (exploit, mitigation, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371176> (third-party-advisory, web)
- <https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f> (patch, web)
- <https://github.com/kjur/jsrsasign/pull/649> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4603> (advisory)
- <https://github.com/kjur/jsrsasign> (package)

## Sources

- CVE List: [CVE-2026-4603](https://www.cve.org/CVERecord?id=CVE-2026-4603), CVE Terms of Use, modified 2026-03-23
- GitHub Advisory Database: [GHSA-464q-cqxq-xhgr](https://github.com/advisories/GHSA-464q-cqxq-xhgr), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-4603](https://nvd.nist.gov/vuln/detail/CVE-2026-4603), Public domain, modified 2026-06-22

---

Page: https://cve.day/CVE-2026-4603 · Whole record: https://cve.day/CVE-2026-4603.json · Rebuilt by cve.day 2026-11-25T22:59:16.446Z
