Uncontrolled Recursion in node-forge - CVE-2026-119187

 

Uncontrolled Recursion in node-forge - CVE-2026-119187

Published: November 6, 2026


Vulnerability identifier: #VU159772
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-2026-119187
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to terminate Node.js applications using node-forge TLS, denying service to all their connections.

The vulnerability exists due to uncontrolled recursion in node-forge's TLS record processing when thousands of heartbeat records arrive in one chunk before the handshake. An unauthenticated remote attacker can send this chunk as a connected peer to exhaust the call stack and trigger an uncaught exception in applications using the documented socket wiring.


Affected software

node-forge

How to mitigate CVE-2026-119187

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins