Home

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.

PUBLISHED Reserved 2025-11-21 | Published 2025-11-26 | Updated 2025-11-28 | Assigner GitHub_M




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

Problem types

CWE-674: Uncontrolled Recursion

Product status

< 1.3.2
affected

References

github.com/.../forge/security/advisories/GHSA-554w-wpv2-vw27

github.com/...ommit/260425c6167a38aae038697132483b5517b26451

cve.org (CVE-2025-66031)

nvd.nist.gov (CVE-2025-66031)

Download JSON