Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-59464 EUVD-2026-3340GHSA-38m8-39f8-gq75

A memory leak in Node.js’s OpenSSL integration occurs when converting `X.509` certificate fields to UTF-8 without freeing the allocated buf…

Published Jan 20, 2026 · Updated Jan 21, 2026 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
nodejs node 24.12.0 – < 24.12.0 24.12.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 nodejs No fix yet —
Ubuntu 26.04 LTS nodejs No fix yet —
Ubuntu 25.10 nodejs No fix yet —
Ubuntu 24.04 LTS nodejs No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS nodejs No fix yet —
Ubuntu Pro 18.04 LTS nodejs No fix yet —
Ubuntu Pro 16.04 LTS nodejs No fix yet —
Ubuntu Pro 14.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs20 +6 20.20.0-7.1.hum1 RHSA-2026:7386
Red Hat Hardened Images 1 nodejs20-npm 10.8.2-1.20.20.0.7.1.hum1 RHSA-2026:7386
Red Hat Hardened Images 1 nodejs22 +6 22.22.0-1.3.hum1 RHSA-2026:7387
Red Hat Hardened Images 1 nodejs22-npm 10.9.4-1.22.22.0.1.3.hum1 RHSA-2026:7387
Red Hat Hardened Images 1 nodejs24 +6 24.14.1-4.hum1 RHSA-2026:7657, RHSA-2026:6402
Red Hat Hardened Images 1 nodejs24-npm 11.11.0-1.24.14.1.4.hum1 RHSA-2026:7657, RHSA-2026:6402
Red Hat Hardened Images 1 nodejs25 +6 25.9.0-1.hum1 RHSA-2026:7378, RHSA-2026:6431
Red Hat Hardened Images 1 nodejs25-npm 11.12.1-1.25.9.0.1.hum1 RHSA-2026:7378, RHSA-2026:6431
ReleasePackageFixed inAdvisory
SLES 15 SP7 nodejs24 24.14.1-150700.15.8.1 SUSE-SU-2026:1299-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 nodejs24 24.14.1-160000.1.1 SUSE-SU-2026:21181-1
SLES 16.0 nodejs24 24.14.1-160000.1.1 SUSE-SU-2026:21181-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs24 24.13.0-4.1 openSUSE-SU-2026:10311-1
openSUSE Tumbleweed nodejs26 26.3.1-1.1 openSUSE-SU-2026:11110-1
openSUSE Leap 16.0 nodejs24 24.14.1-160000.1.1 openSUSE-SU-2026:20519-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs24 +4 1:24.13.0-1.amzn2023.0.1 ALAS2023-2026-1404
Amazon Linux 2023 nodejs24-npm 1:11.6.2-1.24.13.0.1.amzn2023.0.1 ALAS2023-2026-1404
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.13.0.1.amzn2023.0.1 ALAS2023-2026-1404

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-20 +1 20.20.0-r0 —
Wolfi rolling nodejs-22 +1 22.22.0-r0 —
Wolfi rolling nodejs-24 +1 24.13.0-r0 —
Wolfi rolling nodejs-25 25.3.0-r0 —

Advisories 13

References