CVE Catalog

CVE-2025-59464

High
Published: Translated: NVD NIST

Summary

A memory leak in Node.js's OpenSSL integration occurs when converting X.509 certificate fields to UTF-8 without freeing the allocated buffer. Applications calling socket.getPeerCertificate(true) leak memory per certificate field, allowing remote clients to trigger steady memory growth through repeated TLS connections.

Risk Assessment

The risk is potential resource exhaustion and denial of service (DoS) over time, as an attacker can establish many TLS connections, causing gradual memory consumption growth on the server.

Recommendation

Immediately update Node.js to a patched version and monitor memory usage of Node.js processes to detect anomalies.

Other vulnerabilities in Node.js

See all
Original NVD description (English source)

A memory leak in Node.js’s OpenSSL integration occurs when converting `X.509` certificate fields to UTF-8 without freeing the allocated buffer. When applications call `socket.getPeerCertificate(true)`, each certificate field leaks memory, allowing remote clients to trigger steady memory growth through repeated TLS connections. Over time this can lead to resource exhaustion and denial of service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS