Red Hat VEX
RHVEX-CVE-2025-59464
nodejs: Nodejs memory leak
Details
A resource consumption flaw has been discovered in NodeJS. 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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | nodejs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs-full-i18n | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | npm | All versions, will not be fixed |