CVE-2025-59464
Description
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.
How to fix
- nodejs node.js24.12.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 24.0.0 ≤ v < 24.12.0 | 24.12.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.