| Name | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| nodejs (PTS) | bullseye | 12.22.12~dfsg-1~deb11u4 | fixed |
| bullseye (security) | 12.22.12~dfsg-1~deb11u7 | fixed | |
| bookworm, bookworm (security) | 18.20.4+dfsg-1~deb12u1 | fixed | |
| trixie | 20.19.2+dfsg-1 | fixed | |
| trixie (security) | 20.19.2+dfsg-1+deb13u2 | fixed | |
| forky | 22.22.2+dfsg+~cs22.19.15-3 | fixed | |
| sid | 24.15.0+dfsg+~cs24.12.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| nodejs | source | (unstable) | (not affected) |
- nodejs <not-affected> (Only affects Node.js v24 releases and fixed in v24.12.0)
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases#memory-leak-that-enables-remote-denial-of-service-against-applications-processing-tls-client-certificates-cve-2025-59464---medium