CVE-2026-4598

CVE-2026-4598 is a high-severity vulnerability in Kjur Jsrsasign with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-835.

Key facts

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)).

Frequently asked questions

What is CVE-2026-4598?
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)).
How severe is CVE-2026-4598?
CVE-2026-4598 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2026-4598 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-4598?
CVE-2026-4598 affects Kjur Jsrsasign. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-4598?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2026-4598 have an EU (EUVD) identifier?
Yes. CVE-2026-4598 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-14371.
When was CVE-2026-4598 published?
CVE-2026-4598 was published on 2026-03-23 and last updated on 2026-07-01.

References

Affected products (1)

More vulnerabilities in Kjur Jsrsasign

All CVEs affecting Kjur Jsrsasign →

Other CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities

Browse all CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities →