Advisory

GHSA-464q-cqxq-xhgr

Also known as: CVE-2026-4603

Summary

jsrsasign: Division by Zero Allows Invalid JWK Modulus to Cause Deterministic Zero Output in RSA Operations

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-03-23 06:30 UTC
Modified
2026-03-30 19:56 UTC

Affected packages and fixes

jsrsasign

npm · All systems

Affected

  • introduced 0, fixed 11.1.1 (semver)

Fixed versions

11.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences