CVE-2025-66031 Details
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.
A denial-of-service vulnerability has been identified in node-forge, a JavaScript library for implementing Transport Layer Security. This issue affects versions through 1.3.1. The vulnerability arises from an unbounded recursion in the ASN.1 parser, specifically in the 'fromDer' function. Remote, unauthenticated attackers can exploit this by crafting deep ASN.1 structures that cause excessive recursive parsing, leading to stack exhaustion. This stack overflow results in a 'RangeError: Maximum call stack size exceeded' error, crashing the process that handles the parsing. The vulnerability is particularly concerning for applications that process untrusted DER inputs, as it can reliably incapacitate services using node-forge for TLS or certificate operations.
Users can upgrade to node-forge version 1.3.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| digitalbazaar forge | < 1.3.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 6, 2025 | Initial Analysis | [email protected] |
| Nov 26, 2025 | New CVE Received | [email protected] |