Uncontrolled Recursion Vulnerability in node-forge affecting Digital Bazaar
CVE-2025-66031

8.7HIGH

Key Information:

Status
Vendor
CVE Published:
26 November 2025

What is CVE-2025-66031?

The node-forge library, utilized for Transport Layer Security in JavaScript, contains an uncontrolled recursion vulnerability. This issue affects versions 1.3.1 and below, allowing remote, unauthenticated attackers to create deep ASN.1 structures. When these structures are parsed, they can trigger unbounded recursive parsing, resulting in a Denial-of-Service (DoS) due to stack exhaustion, mainly when processing untrusted DER inputs. This vulnerability has been addressed in version 1.3.2, which mitigates the risk by preventing the excessive depth of recursion.

Affected Version(s)

forge < 1.3.2

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.