Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (snyk).
CVSS VectorVendor: snyk
Lifecycle Timeline
6Blast Radius
ecosystem impact- 37 npm packages depend on jsrsasign (9 direct, 28 indirect)
Ecosystem-wide dependent count for version 11.1.1.
DescriptionCVE.org
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)).
AnalysisAI
The jsrsasign JavaScript library contains an infinite loop vulnerability in the BigInteger.modInverse function that allows remote attackers to permanently hang application processes through specially crafted zero or negative input values. All versions of jsrsasign prior to 11.1.1 are affected by this high-severity denial-of-service condition. A proof-of-concept exploit exists demonstrating the vulnerability, and the CVSS score of 7.5 reflects the ease of exploitation (network-accessible, low complexity, no authentication required).
Technical ContextAI
jsrsasign is a widely-used pure JavaScript cryptographic library implementing RSA, ECDSA, and other asymmetric cryptographic operations, commonly deployed in Node.js applications and browsers for JWT handling, certificate processing, and digital signatures. The vulnerability resides in the bnModInverse function within ext/jsbn2.js, which implements modular multiplicative inverse calculations for big integers (CWE-835: Loop with Unreachable Exit Condition). When the BigInteger.modInverse method receives zero or negative values as input (such as modInverse(0, m) or modInverse(-1, m)), the function enters an infinite loop due to insufficient input validation, causing the JavaScript execution environment to hang indefinitely. The affected product is identified via CPE cpe:2.3:a:n/a:jsrsasign:*:*:*:*:*:*:*:* covering all versions before the patched release.
RemediationAI
Immediately upgrade jsrsasign to version 11.1.1 or later, which includes input validation fixes implemented in commit ca5b027240287a1e71fe63019fc4400332594323 (see pull request at https://github.com/kjur/jsrsasign/pull/648). Organizations should audit all applications using jsrsasign by checking package.json dependencies and transitive dependencies, then update to the patched version through npm or yarn package managers. As an interim mitigation before patching, implement input validation at the application layer to reject zero, negative, or obviously malformed values before passing them to cryptographic functions, and consider rate limiting and timeout mechanisms on API endpoints that perform cryptographic operations to limit the blast radius of denial-of-service attempts. Web application firewalls can be configured to detect and block requests containing suspicious patterns in cryptographic operation parameters.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same technique Denial Of Service
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-14371
GHSA-8g7p-jf3g-gxcp