Advisory

GHSA-8qwj-4jxw-m8jw

Also known as: CVE-2026-4602

Summary

jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass

Details

Versions of the package jsrsasign before 11.1.1 are vulnerable to Incorrect Conversion between Numeric Types due to handling negative exponents in ext/jsbn2.js. An attacker can force the computation of incorrect modular inverses and break signature verification by calling modPow with a negative exponent.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-23 06:30 UTC
Modified
2026-07-21 14:00 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