cve.bz

CVE-2026-4598 kjur jsrsasign: Infinite Loop

7.7 highExploit referenceEPSS 0.6%Fix available

High (7.7) in kjur jsrsasign. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in jsrsasign 11.1.1.

On this page
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)).

Severity

CVSS 4.0

7.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
CWE-1287 Improper Validation of Specified Type of Input
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-4598 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-4598?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-4598?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-4598 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
kjur:jsrsasignbefore 11.1.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8g7p-jf3g-gxcpnpmjsrsasign<11.1.111.1.1

Red Hat

Red Hat rates this Important.

Red Hat's statement

IMPORTANT: A denial of service flaw was found in jsrsasign. This vulnerability allows a remote attacker to cause a permanent denial of service by providing specially crafted zero or negative inputs to the bnModInverse function, leading to an infinite loop. This affects Red Hat Migration Toolkit for Virtualization and Red Hat Quay, which utilize the vulnerable jsrsasign component.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Migration Toolkit for Virtualization 2.10migration-toolkit-virtualization/mtv-console-plugin-rhel9:1779139872Fixed 2026-05-19RHSA-2026:19409
Migration Toolkit for Virtualization 2.9migration-toolkit-virtualization/mtv-console-plugin-rhel9:1778927462Fixed 2026-05-19RHSA-2026:19410
Red Hat Quay 3.10quay/quay-rhel8:1779822261Fixed 2026-06-03RHSA-2026:22840
Red Hat Quay 3.12quay/quay-rhel8:1775253092Fixed 2026-04-06RHSA-2026:6720
Red Hat Quay 3.15quay/quay-rhel8:1775169219Fixed 2026-04-03RHSA-2026:6568
Red Hat Quay 3.16quay/quay-rhel9:1779204086Fixed 2026-05-19RHSA-2026:19375
Red Hat Quay 3.9quay/quay-rhel8:1779811473Fixed 2026-06-04RHSA-2026:23361
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-4598.

References

Check your stackJSON