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 package affecting versions before 11.1.1. The issue arises from improper handling of negative exponents in the ext/jsbn2.js file, leading to incorrect conversion between numeric types. Specifically, an attacker can exploit this by calling the modPow function with a negative exponent, which forces the computation of incorrect modular inverses. This undermines the integrity of signature verification processes relying on this package. Multiple Red Hat advisories address this vulnerability, indicating that patches or updates are available through their errata channels.
Potential Impact
The vulnerability allows an attacker to break signature verification by causing incorrect modular inverse calculations. This compromises cryptographic assurances provided by jsrsasign, potentially enabling forgery or bypass of signature-based authentication or integrity checks. The CVSS 4.0 score of 8.7 reflects a high impact with network attack vector, no privileges or user interaction required, and high attack complexity. There are no reports of exploitation in the wild at this time.
Mitigation Recommendations
A fix is available in jsrsasign version 11.1.1 and later. Users should upgrade to version 11.1.1 or newer to remediate this vulnerability. Red Hat has issued security advisories and errata that include patches for affected products incorporating jsrsasign. Applying these official updates is the recommended remediation. Patch status is confirmed by vendor advisories linked from Red Hat. No additional mitigation steps are indicated beyond applying the official fixes.
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
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 package affecting versions before 11.1.1. The issue arises from improper handling of negative exponents in the ext/jsbn2.js file, leading to incorrect conversion between numeric types. Specifically, an attacker can exploit this by calling the modPow function with a negative exponent, which forces the computation of incorrect modular inverses. This undermines the integrity of signature verification processes relying on this package. Multiple Red Hat advisories address this vulnerability, indicating that patches or updates are available through their errata channels.
Potential Impact
The vulnerability allows an attacker to break signature verification by causing incorrect modular inverse calculations. This compromises cryptographic assurances provided by jsrsasign, potentially enabling forgery or bypass of signature-based authentication or integrity checks. The CVSS 4.0 score of 8.7 reflects a high impact with network attack vector, no privileges or user interaction required, and high attack complexity. There are no reports of exploitation in the wild at this time.
Mitigation Recommendations
A fix is available in jsrsasign version 11.1.1 and later. Users should upgrade to version 11.1.1 or newer to remediate this vulnerability. Red Hat has issued security advisories and errata that include patches for affected products incorporating jsrsasign. Applying these official updates is the recommended remediation. Patch status is confirmed by vendor advisories linked from Red Hat. No additional mitigation steps are indicated beyond applying the official fixes.
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: 07/25/2026, 22:56:26 UTC
Last updated: 07/31/2026, 21:26:43 UTC
Views: 191
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.