Jsrsasign Infinite Loop Vulnerability (CVE-2026-4598)
Jsrsasign versions before 11.1.1 are vulnerable to an infinite loop via the bnModInverse function when processing zero or negative inputs, potentially leading to a denial of service.
The jsrsasign library, a popular JavaScript library for implementing cryptography standards, is susceptible to a denial-of-service vulnerability. Specifically, versions prior to 11.1.1 are vulnerable to CVE-2026-4598, where the bnModInverse function within ext/jsbn2.js can enter an infinite loop when processing zero or negative inputs to the BigInteger.modInverse function. An attacker can exploit this by providing maliciously crafted values (e.g., modInverse(0, m) or `modInverse(-1…
Detection coverage 2
Detect Jsrsasign ModInverse Zero Input
highDetects suspicious calls to jsrsasign's bnModInverse function with zero or negative inputs, indicative of CVE-2026-4598 exploitation.
Detect Jsrsasign ModInverse Negative Input
highDetects suspicious calls to jsrsasign's bnModInverse function with negative inputs, indicative of CVE-2026-4598 exploitation.
Detection queries are kept inside the platform. Get full rules →