Skip to content
OpenAdvisories
High · 7.5 CVE-2026-4598 EUVD-2026-14371GHSA-8g7p-jf3g-gxcp

jsrsasign is vulnerable to DoS through Infinite Loop when processing zero or negative inputs

Published Mar 23, 2026 · Updated Sep 10, 2026 · Assigned by snyk

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

Affected products

VendorProductAffectedFixed
— jsrsasign < 11.1.1 11.1.1
— org.webjars.npm:jsrsasign — —

Affected packages

EcosystemPackageAffectedFixedRecord
npm jsrsasign < 11.1.1 11.1.1 GHSA-8g7p-jf3g-gxcp

References