CVE-2025-59464
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 a...
Original description
The description as published by the 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.
Affected packages
Bitnami
node
[{"type":"SEMVER","events":[{"introduced":"24.0.0"},{"fixed":"24.12.0"}]}]
Bitnami
node-min
[{"type":"SEMVER","events":[{"introduced":"24.0.0"},{"fixed":"24.12.0"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Ubuntu UBUNTU-CVE-2025-59464 nodejs
References
- advisory nvd.nist.gov
- advisory github.com
- web nodejs.org