8.7High

CVE-2025-66031node-forge ASN.1 Unbounded Recursion

digitalbazaar forge Published: (11 months ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
digitalbazaar forge < 1.3.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* < 1.3.2