Memory leak in Node.js - CVE-2025-59464

 

Memory leak in Node.js - CVE-2025-59464

Published: April 17, 2026


Vulnerability identifier: #VU126390
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-59464
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to a memory leak in OpenSSL integration when converting X.509 certificate fields to UTF-8 during processing of TLS client certificates. A remote attacker can establish repeated TLS connections to cause a denial of service.

The issue is triggered when applications call socket.getPeerCertificate(true).


Affected software

Node.js
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Web and Scripting Module
openEuler
npm
v8-devel
nodejs-debuginfo
nodejs-devel
nodejs-full-i18n
nodejs-libs
nodejs-docs
nodejs
nodejs-debugsource
npm24
nodejs24-debuginfo
nodejs24
nodejs24-debugsource
nodejs24-devel
nodejs24-docs

How to mitigate CVE-2025-59464

Install security update from vendor's website.

Node.js - update to 24.12.0
npm - update to 10.8.2-1.20.18.2.5
v8-devel - update to 11.3.244.8-1.20.18.2.5
nodejs-debuginfo - update to 20.18.2-5
nodejs-devel - update to 20.18.2-5
nodejs-full-i18n - update to 20.18.2-5
nodejs-libs - update to 20.18.2-5
nodejs-docs - update to 20.18.2-5
nodejs - update to 20.18.2-5
nodejs-debugsource - update to 20.18.2-5
npm24 - update to 24.14.1-150700.15.8.1
nodejs24-debuginfo - update to 24.14.1-150700.15.8.1
nodejs24 - update to 24.14.1-150700.15.8.1
nodejs24-debugsource - update to 24.14.1-150700.15.8.1
nodejs24-devel - update to 24.14.1-150700.15.8.1
nodejs24-docs - update to 24.14.1-150700.15.8.1

External References

Related Security Bulletins