CVE-2026-4602: jsrsasign Vulnerability Leading to Signature Verification Bypass

jsrsasign Updated 30 Mar 2026

Summary

23/03/2026
Yes i
High
7.5

CVE-2026-4602: jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass. Affects jsrsasign versions < 11.1.1. Fixed in 11.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

jsrsasign is a widely used JavaScript library that provides cryptographic functionalities, including digital signatures and key management. It is commonly utilized in web applications to ensure secure communications and data integrity. However, certain versions of jsrsasign are vulnerable to a significant flaw that can compromise the security of applications relying on this library.

Vulnerability Detail

The vulnerability arises from incorrect handling of negative exponents in the ext/jsbn2.js file within the jsrsasign package. Specifically, versions prior to 11.1.1 allow an attacker to manipulate the computation of modular inverses by invoking the modPow function with a negative exponent. This can lead to a bypass of signature verification, potentially allowing unauthorized access or manipulation of sensitive data. The flaw is categorized under CWE-681, indicating an incorrect conversion between numeric types, which can have severe implications for the integrity of cryptographic operations.

How To Fix

Minimum fixed version

11.1.1

This is the first release that contains the fix.

npm install jsrsasign@11.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing additional validation checks on the inputs to the modPow function to prevent negative exponents from being processed. However, this is not a complete fix and should only be a temporary measure until the package can be updated.

Conclusion

The jsrsasign vulnerability (CVE-2026-4602) presents a significant risk due to improper handling of negative exponents, which can lead to a bypass of signature verification. It is crucial for developers to update to version 11.1.1 or later to mitigate this risk and ensure the integrity of their applications.

See every vulnerability recorded for jsrsasign →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Versions of jsrsasign prior to 11.1.1 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability can lead to unauthorized access and manipulation of data, as it allows attackers to bypass signature verification.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the package-lock.json file.

Related vulnerabilities

Recent vulnerabilities recorded for jsrsasign.

How To Fix

Minimum fixed version

11.1.1

This is the first release that contains the fix.

npm install jsrsasign@11.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback