IntelligenceAdvisoriesAdvisory
GHSA-8qwj-4jxw-m8jw
jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass
In short
What to know.
- Package
- jsrsasign npmbefore 11.1.1
- What to do
- Upgrade jsrsasign to 11.1.1 or later.
- Source's rating
- HighNoumen has not assessed it.
- Noumen finding
- NMN-2026-0026Candidate. Severity high, confidence high.
3 December 2026
Source
- OSV record GHSA-8qwj-4jxw-m8jwosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-8qwj-4jxw-m8jw
- Aliases
- CVE-2026-4602
- Severity
- High, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
- Fixed versions
- 11.1.1
- Published
- 23 March 2026
- Modified
- 21 July 2026
- Source
- OSV record GHSA-8qwj-4jxw-m8jw, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| jsrsasign npm | before 11.1.1 | 11.1.1 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
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.
References
- advisorynvd.nist.gov/vuln/detail/CVE-2026-4602
- webgithub.com/kjur/jsrsasign/pull/650
- webgithub.com/kjur/jsrsasign/commit/5ea1c32bb2aa894b4bd29849839afe4f98728195
- websecurity.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371175
- websecurity.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812274
- websecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4602.json
- packagegithub.com/kjur/jsrsasign
- webgist.github.com/Kr0emer/7ecd2be7d17419e4677315ef3758faf5
- webbugzilla.redhat.com/show_bug.cgi?id=2450206
- webaccess.redhat.com/security/cve/CVE-2026-4602
- webaccess.redhat.com/errata/RHSA-2026:6926
- webaccess.redhat.com/errata/RHSA-2026:6912
- webaccess.redhat.com/errata/RHSA-2026:6720
- webaccess.redhat.com/errata/RHSA-2026:6568
- webaccess.redhat.com/errata/RHSA-2026:19410
- webaccess.redhat.com/errata/RHSA-2026:19409
- webaccess.redhat.com/errata/RHSA-2026:19375
