Infinite loop in node-forge - CVE-2026-33891
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to render an application using node-forge unresponsive indefinitely.
The vulnerability exists due to missing zero-value validation in node-forge's BigInteger.modInverse() function, which enters an infinite loop when called on zero. An unauthenticated remote attacker can submit a crafted input to an application that passes untrusted values to this function, blocking the Node.js event loop and consuming CPU without user interaction.