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
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 7.7
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-14371
- Weakness: CWE-835
- Affected product: Kjur Jsrsasign
- Published:
- Last modified:
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
- https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264
- https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323
- https://github.com/kjur/jsrsasign/pull/648
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812263
- https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=2450210
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4598.json
Affected products (1)
- cpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:*
More vulnerabilities in Kjur Jsrsasign
- CVE-2020-14968 — Critical (CVSS 9.8): An issue was discovered in the jsrsasign package before 8.0.17 for Node.js. Its RSASSA-PSS (RSA-PSS) implementation…
- CVE-2020-14967 — Critical (CVSS 9.8): An issue was discovered in the jsrsasign package before 8.0.18 for Node.js. Its RSA PKCS1 v1.5 decryption…
- CVE-2026-4599 — Critical (CVSS 9.1): Versions of the package jsrsasign from 7.0.0 and before 11.1.1 are vulnerable to Incomplete Comparison with Missing…
- CVE-2021-30246 — Critical (CVSS 9.1): In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized…
- CVE-2026-4601 — High (CVSS 8.7): Versions of the package jsrsasign before 11.1.1 are vulnerable to Missing Cryptographic Step via the…
- CVE-2022-25898 — High (CVSS 7.7): The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT…
All CVEs affecting Kjur Jsrsasign →
Other CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities
- CVE-2026-24816 — Critical (CVSS 10.0): Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in datavane tis…
- CVE-2018-20784 — Critical (CVSS 9.8): In the Linux kernel before 4.20.2, kernel/sched/fair.c mishandles leaf cfs_rq's, which allows attackers to cause a…
- CVE-2017-12997 — Critical (CVSS 9.8): The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in…
- CVE-2017-12995 — Critical (CVSS 9.8): The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print().
- CVE-2017-12990 — Critical (CVSS 9.8): The ISAKMP parser in tcpdump before 4.9.2 could enter an infinite loop due to bugs in print-isakmp.c, several functions.
- CVE-2026-31448 — Critical (CVSS 9.4): In the Linux kernel, the following vulnerability has been resolved: ext4: avoid infinite loops caused by residual…
Browse all CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities →