#VU119132 Uncontrolled recursion in node-forge - CVE-2025-66031

 

#VU119132 Uncontrolled recursion in node-forge - CVE-2025-66031

Published: December 4, 2025 / Updated: December 10, 2025


Vulnerability identifier: #VU119132
Vulnerability risk: Medium
CVSSv4.0: 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/E:U/U:Green
CVE-ID: CVE-2025-66031
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
node-forge
Software vendor:
Synex Technologies

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to uncontrolled recursion within the asn1.fromDer() function in forge/lib/asn1.js. A remote non-authenticated attacker can pass specially crafted deep ASN.1 structures to trigger unbounded recursive parsing and perform a denial of service attack.


Remediation

Install updates from vendor's website.

External links