jsrsasign: Incorrect Conversion between Numeric Types
CVE-2026-4602 is a high-severity incorrect conversion between numeric types vulnerability in jsrsasign, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 11.1.1 as the first without the flaw, so updating jsrsasign to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.51% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update jsrsasign to 11.1.1 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Jsrsasign | jsrsasign | before 11.1.1 | 11.1.1 |
| Org.webjars.npm:jsrsasign | org.webjars.npm:jsrsasign | all versions | Not stated |
| Red Hat | Migration Toolkit for Virtualization 2.1 | Not specified in the record | Not stated |
| Red Hat | Migration Toolkit for Virtualization 2.9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Quay 3.10 | Not specified in the record | Not stated |
| Red Hat | Red Hat Quay 3.12 | Not specified in the record | Not stated |
| Red Hat | Red Hat Quay 3.15 | Not specified in the record | Not stated |
| Red Hat | Red Hat Quay 3.16 | Not specified in the record | Not stated |
| Red Hat | Red Hat Quay 3.9 | Not specified in the record | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA (snyk.io).
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 7.7 | High | CNA (snyk.io) |
| CVSS 3.1 | 7.5 | High | CNA (snyk.io) |
| CVSS 3.1 | 7.5 | High | CNA |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Conversion between Numeric Types
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
How developers prevent this class of flaw
- Avoid making conversion between numeric types. Always check for the allowed ranges.
More Incorrect Conversion between Numeric Types vulnerabilities (CWE-681)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- gist.github.com/Kr0emer/7ecd2be7d17419e4677315ef3758faf5Exploit, Mitigation, Third Party Advisory
- github.com/kjur/jsrsasign/commit/5ea1c32bb2aa894b4bd29849839afe4f98728195
- github.com/kjur/jsrsasign/pull/650Issue Tracking
Third-party and government advisories
- security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371175Third Party Advisory
Other references
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812274
- access.redhat.com/errata/RHSA-2026:19375
- access.redhat.com/errata/RHSA-2026:19409
- access.redhat.com/errata/RHSA-2026:19410
- access.redhat.com/errata/RHSA-2026:6568
- access.redhat.com/errata/RHSA-2026:6720
- access.redhat.com/errata/RHSA-2026:6912
- access.redhat.com/errata/RHSA-2026:6926
- access.redhat.com/security/cve/CVE-2026-4602
- bugzilla.redhat.com/show_bug.cgi?id=2450206
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4602.json
Other vulnerabilities in jsrsasign
- 9.1 Critical severity
- 9.1 Critical severity
- 9.1 Critical severity
- 7.5 High severity
- 9.8 Critical severity
Recent Incorrect Conversion between Numeric Types vulnerabilities
- 7.1 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.1 High severity
Spotted an error? Tell us.