CVE-2026-4598CWE-1287CWE-835

CVE-2026-4598

High · published March 23, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
62.5
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01002 · 62.5th percentile
Weaknesses
CWE-1287 · Improper Validation of Specified Type of Input; CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2026-03-23T10:16Z
Affected products (1)
ProductVersionsFixed in
kjur/jsrsasign< 11.1.111.1.1
References (15)
EPSS history
Timeline
  • 23 MAR 05:00Z
    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…
    cvelistv5