Description
An Uncontrolled Recursion (CWE-674) vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep ASN.1 structures that trigger unbounded recursive parsing. This leads to a Denial-of-Service (DoS) via stack exhaustion when parsing untrusted DER inputs.
Recommendation
Update the node-forge package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.3.2
- Patched version(s): 1.3.2
References
Related Issues
- node-forge is vulnerable to ASN.1 OID Integer Truncation - CVE-2025-66030
- seajs Cross-site Scripting vulnerability - CVE-2024-51091
- Prototype Pollution in node-forge - CVE-2020-7720
- Deserialization of Untrusted Data in bson - CVE-2020-7610
- Tags:
- npm
- node-forge
Anything's wrong? Let us know Last updated on November 26, 2025