CVE Catalog

CVE-2026-33891

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.60%

44th percentile - higher than 44% of all known CVEs

Summary

A Denial of Service (DoS) vulnerability exists in node-forge before version 1.4.0 due to an infinite loop in the BigInteger.modInverse() function. Calling this function with a zero value causes the process to hang indefinitely and consume 100% CPU.

Risk Assessment

An attacker can remotely cause a denial of service by sending a specially crafted request that triggers modInverse with zero, leading to application hang and CPU exhaustion.

Recommendation

Immediately update node-forge to version 1.4.0 or later, which contains the fix for the infinite loop.

Other vulnerabilities in node-forge

See all
Original NVD description (English source)

Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, a Denial of Service (DoS) vulnerability exists in the node-forge library due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library). When modInverse() is called with a zero value as input, the internal Extended Euclidean Algorithm enters an unreachable exit condition, causing the process to hang indefinitely and consume 100% CPU. Version 1.4.0 patches the issue.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS