Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Digitalbazaar | Forge | < 1.3.2 |
Related Weaknesses (CWE)
References
- https://github.com/digitalbazaar/forge/commit/260425c6167a38aae038697132483b5517Patch
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-554w-wpv2-vw27Vendor Advisory
FAQ
What is CVE-2025-66031?
CVE-2025-66031 is a vulnerability with a CVSS score of 7.5 (HIGH). 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, un...
How severe is CVE-2025-66031?
CVE-2025-66031 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-66031?
Check the references section above for vendor advisories and patch information. Affected products include: Digitalbazaar Forge.