Incorrect Conversion between Numeric Types Affecting jsrsasign package, versions <11.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-JSRSASIGN-15371175
  • published22 Mar 2026
  • disclosed21 Feb 2026
  • creditKr0emer

Introduced: 21 Feb 2026

NewCVE-2026-4602  (opens in a new tab)
CWE-681  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade jsrsasign to version 11.1.1 or higher.

Overview

jsrsasign is a free pure JavaScript cryptographic library.

Affected versions of this package 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 Base Scores

version 4.0
version 3.1