CVE-2025-66031
Description
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. An Uncontrolled Recursion 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. This issue has been patched in version 1.3.2.
How to fix
- digitalbazaar forge1.3.2 or later
- node-forge1.3.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| digitalbazaar forge | v < 1.3.2 | 1.3.2 |
| node-forgenpm | v < 1.3.2 | 1.3.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.