Infinite Loop Vulnerability in jsrsasign by KJUR
CVE-2026-4598
8.7HIGH
What is CVE-2026-4598?
The jsrsasign library, specifically versions prior to 11.1.1, contains a vulnerability in the bnModInverse function. This issue arises when the function receives zero or negative inputs, leading to an infinite loop. Attackers can exploit this flaw by supplying crafted values such as modInverse(0, m) or modInverse(-1, m), effectively causing the process to hang indefinitely. Users of jsrsasign are advised to upgrade to the latest version to mitigate this risk.
Affected Version(s)
jsrsasign 0 < 11.1.1
