CVE-2026-4602: Incorrect Conversion between Numeric Types in jsrsasign
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.
AI Analysis
Technical Summary
CVE-2026-4602 is a high severity vulnerability in the jsrsasign library prior to version 11.1.1. The issue arises from incorrect handling of negative exponents in the ext/jsbn2.js file's modPow function, which leads to incorrect modular inverse calculations. An attacker can exploit this by supplying a negative exponent, causing signature verification to be bypassed. This vulnerability impacts the integrity of cryptographic operations relying on jsrsasign, including Red Hat products such as Migration Toolkit for Virtualization and Red Hat Quay. The Red Hat advisory confirms the vulnerability and states that no suitable mitigation or fix currently meets their criteria for deployment.
Potential Impact
The vulnerability allows remote attackers to bypass signature verification by forcing incorrect modular inverse computations through negative exponents. This compromises the integrity of cryptographic signatures, potentially allowing unauthorized actions or data tampering in affected applications that rely on jsrsasign for signature verification.
Mitigation Recommendations
Currently, there is no available fix or mitigation that meets Red Hat's criteria for ease of use, deployment, applicability, or stability. Users should monitor vendor advisories for updates. Until a fix is released, affected systems remain vulnerable. Consider limiting exposure of affected components where possible.
CVE-2026-4602: Incorrect Conversion between Numeric Types in jsrsasign
Description
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.
CVSS v4.0
Score 8.7high
Affected software
jsrsasign
org.webjars.npm:jsrsasign
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4602 is a high severity vulnerability in the jsrsasign library prior to version 11.1.1. The issue arises from incorrect handling of negative exponents in the ext/jsbn2.js file's modPow function, which leads to incorrect modular inverse calculations. An attacker can exploit this by supplying a negative exponent, causing signature verification to be bypassed. This vulnerability impacts the integrity of cryptographic operations relying on jsrsasign, including Red Hat products such as Migration Toolkit for Virtualization and Red Hat Quay. The Red Hat advisory confirms the vulnerability and states that no suitable mitigation or fix currently meets their criteria for deployment.
Potential Impact
The vulnerability allows remote attackers to bypass signature verification by forcing incorrect modular inverse computations through negative exponents. This compromises the integrity of cryptographic signatures, potentially allowing unauthorized actions or data tampering in affected applications that rely on jsrsasign for signature verification.
Mitigation Recommendations
Currently, there is no available fix or mitigation that meets Red Hat's criteria for ease of use, deployment, applicability, or stability. Users should monitor vendor advisories for updates. Until a fix is released, affected systems remain vulnerable. Consider limiting exposure of affected components where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-03-22T16:26:15.167Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-4602","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19409","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19410","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6720","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6568","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6912","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6926","vendor":"Red Hat"}]
Threat ID: 69c0d39ff4197a8e3b12db12
Added to database: 03/23/2026, 05:46:07 UTC
Last enriched: 08/17/2026, 13:21:32 UTC
Last updated: 09/12/2026, 10:01:31 UTC
Views: 232
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.