CVE-2025-66031Uncontrolled Recursion in Forge

Severity
8.7HIGHNVD
EPSS
0.1%
top 66.76%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 26
Latest updateMar 12

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 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Patches

🔴Vulnerability Details

3
OSV
CVE-2025-66031: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript2025-11-26
GHSA
node-forge has ASN.1 Unbounded Recursion2025-11-26
OSV
node-forge has ASN.1 Unbounded Recursion2025-11-26

📋Vendor Advisories

4
CISA ICS
Siemens SIDIS Prime2026-03-12
Red Hat
node-forge: node-forge ASN.1 Unbounded Recursion2025-11-26
Microsoft
node-forge ASN.1 Unbounded Recursion2025-11-11
Debian
CVE-2025-66031: node-node-forge - Forge (also called `node-forge`) is a native implementation of Transport Layer S...2025
CVE-2025-66031 — Uncontrolled Recursion in Forge | cvebase