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

 

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

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


Vulnerability identifier: #VU119132
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2025-66031
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

node-forge
Voice Gateway
Cognos Analytics Mobile (iOS)
Cognos Analytics Mobile (Android)
watsonx Orchestrate Developer Edition
watsonx Code Assistant On Prem
WatsonX BI Assistant
watsonx.data integration
Maximo Application Suite - Visual Inspection Component
Developer Hub
Kiali
Quay
OpenShift Data Foundation (formerly OpenShift Container Storage)
IBM Sterling Secure Proxy
IBM Sterling External Authentication Server
IBM Sterling Connect:Direct Web Services
App Connect Enterprise Certified Container

How to mitigate CVE-2025-66031

Install updates from vendor's website.

node-forge - update to 1.3.2
Voice Gateway - addressed in versions 1.0.8.16, 1.0.8.28
Cognos Analytics Mobile (iOS) - update to 1.1.26
Cognos Analytics Mobile (Android) - update to 1.1.26
watsonx Orchestrate Developer Edition - update to 2.3.0
Developer Hub - addressed in versions 1.7.4, 1.8.1
Kiali - addressed in versions 1.73.25, 2.4.11, 2.11.5, 2.17.2
Quay - update to 3.16.1
watsonx Code Assistant On Prem - update to 5.3.1
WatsonX BI Assistant - update to 5.3
watsonx.data integration - update to 5.3.1
IBM Sterling Secure Proxy - addressed in versions 6.1.0.3, 6.2.0.3, 6.2.1.1
IBM Sterling External Authentication Server - addressed in versions 6.1.0.4, 6.1.1.1
IBM Sterling Connect:Direct Web Services - addressed in versions 6.3.0.19, 6.4.0.8
Maximo Application Suite - Visual Inspection Component - addressed in versions 9.0.16, 9.1.7
App Connect Enterprise Certified Container - update to 12.19.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - addressed in versions 4.18.25, 4.19.20

External References

Related Security Bulletins