Infinite loop in node-forge - CVE-2026-118781
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unprivileged local attacker to cause denial of service by indefinitely blocking the Node.js event loop.
The vulnerability exists due to an unreachable loop exit condition in node-forge's bundled jsbn modular inversion routine when the value or modulus is negative. An unprivileged local attacker can supply a negative RSA public exponent or modular inversion operand to applications accepting untrusted inputs for these operations, causing sustained CPU consumption.