CVE-2026-4598
published high CVSS 4.0 · 8.7jsrsasign: Denial of Service via infinite loop in bnModInverse function with crafted inputs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | jsrsasign0 to < 11.1.1 | Affected | Not stated | snyk |
| n/a | — | org.webjars.npm:jsrsasign0 and later | Affected | Not stated | snyk |
| Red Hat | — | migration-toolkit-virtualization/mtv-console-plugin-rhel9Migration Toolkit for Virtualization 2.1 · 1779139872 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | migration-toolkit-virtualization/mtv-console-plugin-rhel9Migration Toolkit for Virtualization 2.9 · 1778927462 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.10 · 1779822261 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.12 · 1775253092 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.15 · 1775169219 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | quay/quay-rhel9Red Hat Quay 3.16 · 1779204086 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | quay/quay-rhel8Red Hat Quay 3.9 · 1779811473 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Description
Versions of the package jsrsasign before 11.1.1 are vulnerable to Infinite loop via the bnModInverse function in ext/jsbn2.js when the BigInteger.modInverse implementation receives zero or negative inputs, allowing an attacker to hang the process permanently by supplying such crafted values (e.g., modInverse(0, m) or modInverse(-1, m)).
A flaw was found in jsrsasign. A remote attacker could exploit this vulnerability by providing specially crafted zero or negative inputs to the bnModInverse function within the BigInteger.modInverse implementation. This could lead to an infinite loop, causing a permanent denial of service (DoS) by hanging the process.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | snyk · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P | — |
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | jsrsasign | 0 to < 11.1.1 (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:jsrsasign | 0 and later (affected · semver) | snyk · cna |
| Red Hat | Migration Toolkit for Virtualization 2.1 | 1779139872 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Virtualization 2.9 | 1778927462 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.10 | 1779822261 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.12 | 1775253092 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.15 | 1775169219 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.16 | 1779204086 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Quay 3.9 | 1779811473 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-835 Infinite loop
- CWE-1287 Improper Validation of Specified Type of Input
References
15- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:19409
- https://access.redhat.com/errata/RHSA-2026:19410
- https://access.redhat.com/errata/RHSA-2026:22840
- https://access.redhat.com/errata/RHSA-2026:23361
- https://access.redhat.com/errata/RHSA-2026:6568
- https://access.redhat.com/errata/RHSA-2026:6720
- https://access.redhat.com/security/cve/CVE-2026-4598
- RHBZ#2450210 https://bugzilla.redhat.com/show_bug.cgi?id=2450210
- https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264
- https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323
- https://github.com/kjur/jsrsasign/pull/648
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4598.json
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812263
- https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938
Provider assertions
3snyk · cna
redhat-SADP · adp
jsrsasign: jsrsasign: Denial of Service via infinite loop in bnModInverse function with crafted inputs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 51af671eb6fcc0a55ee4df48c22b7bec729bd5b832d88a77e1183925291a3f48
- Ingested
- 23 Sep 2026, 09:18:37 UTC
- Source record
- Official CVE record