Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-23085 EUVD-2025-3113GHSA-qv9x-c8c9-rpr8

A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid …

Published Feb 7, 2025 · Updated Nov 3, 2025 · Assigned by hackerone

Description

A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected by nghttp2, causing the connection to be terminated by the peer, the same leak was triggered. This flaw could lead to increased memory consumption and potential denial of service under certain conditions.

This vulnerability affects HTTP/2 Server users on Node.js v18.x, v20.x, v22.x and v23.x.

Affected products

VendorProductAffectedFixed
NodeJS Node 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 16.0 – < 16.*, 17.0 – < 17.*, 18.0 – < 18.20.6, 19.0 – < 19.*, 20.0 – < 20.18.2, 21.0 – < 21.*, 22.0 – < 22.13.1, 23.0 – < 23.6.1 4.*

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
Debian 14 nodejs 20.18.2+dfsg-1 —
Debian 13 nodejs 20.19.2+dfsg-1+deb13u1 DSA-6166-1
Debian 12 nodejs 18.20.4+dfsg-1~deb12u2 —
Debian 11 nodejs 12.22.12~dfsg-1~deb11u6 DLA-4067-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS nodejs No fix yet —
Show 2 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 —
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:18.20.6-1.module+el9.5.0+22773+9a359385 RHSA-2025:1613, RHSA-2025:1446, RHSA-2025:1443
RHEL 9 nodejs-libs 1:22.13.1-1.module+el9.5.0+22763+17233acb RHSA-2025:1613
RHEL 9 nodejs-nodemon 3.0.1-1.module+el9.3.0.z+20478+84a9f781 RHSA-2025:1613, RHSA-2025:1446, RHSA-2025:1443
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.3.0+19518+63aad52d RHSA-2025:1613, RHSA-2025:1446, RHSA-2025:1443
RHEL 9 npm 1:10.8.2-1.18.20.6.1.module+el9.5.0+22773+9a359385 RHSA-2025:1613, RHSA-2025:1446, RHSA-2025:1443
RHEL 9 v8-12.4-devel 3:12.4.254.21-1.22.13.1.1.module+el9.5.0+22763+17233acb RHSA-2025:1613
RHEL 8 nodejs +3 1:18.20.6-1.module+el8.10.0+22776+24cd6c55 RHSA-2025:1611, RHSA-2025:1582, RHSA-2025:1351
RHEL 8 nodejs-libs 1:22.13.1-1.module+el8.10.0+22759+46b58560 RHSA-2025:1611
RHEL 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+21159+f5a7145d RHSA-2025:1611, RHSA-2025:1582, RHSA-2025:1351
RHEL 8 nodejs-packaging +1 2021.06-4.module+el8.9.0+19439+7b18b275 RHSA-2025:1611, RHSA-2025:1582, RHSA-2025:1351
RHEL 8 npm 1:10.8.2-1.18.20.6.1.module+el8.10.0+22776+24cd6c55 RHSA-2025:1611, RHSA-2025:1582, RHSA-2025:1351
RHEL 8 v8-12.4-devel 3:12.4.254.21-1.22.13.1.1.module+el8.10.0+22759+46b58560 RHSA-2025:1611

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:18.20.6-1.module_el9.5.0+136+92f38f3c ALSA-2025:1613, ALSA-2025:1446, ALSA-2025:1443
AlmaLinux 9 nodejs-libs 1:22.13.1-1.module_el9.5.0+139+09296491 ALSA-2025:1613
AlmaLinux 9 nodejs-nodemon 3.0.1-1.module_el9.2.0+36+853e48f5 ALSA-2025:1613, ALSA-2025:1446, ALSA-2025:1443
AlmaLinux 9 nodejs-packaging 2021.06-4.module_el9.3.0+88+29afeaa2 ALSA-2025:1613, ALSA-2025:1446, ALSA-2025:1443
AlmaLinux 9 nodejs-packaging-bundler 2021.06-4.module_el9.5.0+124+df88fe49 ALSA-2025:1613, ALSA-2025:1446, ALSA-2025:1443
AlmaLinux 9 npm 1:10.8.2-1.18.20.6.1.module_el9.5.0+136+92f38f3c ALSA-2025:1613, ALSA-2025:1446, ALSA-2025:1443
AlmaLinux 9 v8-12.4-devel 3:12.4.254.21-1.22.13.1.1.module_el9.5.0+139+09296491 ALSA-2025:1613
AlmaLinux 8 nodejs +3 1:18.20.6-1.module_el8.10.0+3960+fcfbf683 ALSA-2025:1611, ALSA-2025:1582, ALSA-2025:1351
AlmaLinux 8 nodejs-libs 1:22.13.1-1.module_el8.10.0+3961+6a788e57 ALSA-2025:1611
AlmaLinux 8 nodejs-nodemon 3.0.1-1.module_el8.8.0+3613+1ed8c91d ALSA-2025:1611, ALSA-2025:1582, ALSA-2025:1351
AlmaLinux 8 nodejs-packaging 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2025:1611, ALSA-2025:1582, ALSA-2025:1351
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.10.0+3958+472a6467 ALSA-2025:1611, ALSA-2025:1582, ALSA-2025:1351
AlmaLinux 8 npm 1:10.8.2-1.18.20.6.1.module_el8.10.0+3960+fcfbf683 ALSA-2025:1611, ALSA-2025:1582, ALSA-2025:1351
AlmaLinux 8 v8-12.4-devel 3:12.4.254.21-1.22.13.1.1.module_el8.10.0+3961+6a788e57 ALSA-2025:1611

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs-nodemon 3.0.1-1.module+el9.5.0+31770+0da7192d RLSA-2025:1613, RLSA-2025:1446
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2025:1613, RLSA-2025:1446
Rocky Linux 8 nodejs 1:18.20.6-1.module+el8.10.0+1934+a521c41f RLSA-2025:1611, RLSA-2025:1582, RLSA-2025:1351
Rocky Linux 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+1666+930e28e8 RLSA-2025:1611, RLSA-2025:1582, RLSA-2025:1351
Rocky Linux 8 nodejs-packaging 2021.06-4.module+el8.10.0+1667+4a788d89 RLSA-2025:1611, RLSA-2025:1582, RLSA-2025:1351
ReleasePackageFixed inAdvisory
SLES 15 SP6 nodejs20 20.18.2-150600.3.9.1 SUSE-SU-2025:0237-1
SLES 15 SP6 nodejs22 22.13.1-150600.13.6.1 SUSE-SU-2025:0284-1
SLES 15 SP5 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
SLES 15 SP5 nodejs20 20.18.2-150500.11.18.1 SUSE-SU-2025:0232-1
SLES 15 SP4 nodejs16 16.20.2-150400.3.42.1 SUSE-SU-2026:4355-1
SLES 15 SP4 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
SLES 12 SP5 nodejs18 18.20.6-8.33.1 SUSE-SU-2025:0234-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
SLES for SAP 15 SP5 nodejs20 20.18.2-150500.11.18.1 SUSE-SU-2025:0232-1
SLES for SAP 15 SP4 nodejs16 16.20.2-150400.3.42.1 SUSE-SU-2026:4355-1
SLES for SAP 15 SP4 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
SLE HPC 15 SP5 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
SLE HPC 15 SP5 nodejs20 20.18.2-150500.11.18.1 SUSE-SU-2025:0232-1
SLE HPC 15 SP4 nodejs16 16.20.2-150400.3.42.1 SUSE-SU-2026:4355-1
SLE HPC 15 SP4 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
SUSE Manager Server 4.3 nodejs18 18.20.6-150400.9.33.1 SUSE-SU-2025:0233-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs22 22.13.0-1.1 openSUSE-SU-2025:14706-1
openSUSE Tumbleweed nodejs24 24.11.1-2.1 openSUSE-SU-2025:15802-1
openSUSE Tumbleweed nodejs26 26.3.1-1.1 openSUSE-SU-2026:11110-1
openSUSE Leap 15.6 nodejs20 20.18.2-150600.3.9.1 SUSE-SU-2025:0237-1
openSUSE Leap 15.6 nodejs22 22.13.1-150600.13.6.1 SUSE-SU-2025:0284-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 22.13.1-r0 —
Alpine v3.23 nodejs 22.13.1-r0 —
Alpine v3.22 nodejs 22.13.1-r0 —
Alpine v3.21 nodejs 22.13.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.20.6-1.amzn2023.0.1 ALAS2023-2025-843
Amazon Linux 2023 nodejs-npm 1:10.8.2-1.18.20.6.1.amzn2023.0.1 ALAS2023-2025-843
Amazon Linux 2023 nodejs20 +4 1:20.18.2-1.amzn2023.0.1 ALAS2023-2025-822
Amazon Linux 2023 nodejs20-npm 1:10.8.2-1.20.18.2.1.amzn2023.0.1 ALAS2023-2025-822
Amazon Linux 2023 v8-10.2-devel 3:10.2.154.26-1.18.20.6.1.amzn2023.0.1 ALAS2023-2025-843
Amazon Linux 2023 v8-11.3-devel 3:11.3.244.8-1.20.18.2.1.amzn2023.0.1 ALAS2023-2025-822

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs 20.14.0-5 —
Azure Linux 2 (CBL-Mariner) nodejs18 18.20.3-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nodejs +3 1:18.20.6-1.module+el9.5.0+90514+74072e0a ELSA-2025-1613, ELSA-2025-1446, ELSA-2025-1443
Oracle Linux 9 nodejs-libs 1:22.13.1-1.module+el9.5.0+90517+729550a4 ELSA-2025-1613
Oracle Linux 9 nodejs-nodemon 3.0.1-1.module+el9.3.0+90066+12d4a8d7 ELSA-2025-1613, ELSA-2025-1446, ELSA-2025-1443
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.3.0+90066+12d4a8d7 ELSA-2025-1613, ELSA-2025-1446, ELSA-2025-1443
Oracle Linux 9 npm 1:10.8.2-1.18.20.6.1.module+el9.5.0+90514+74072e0a ELSA-2025-1613, ELSA-2025-1446, ELSA-2025-1443
Oracle Linux 9 v8-12.4-devel 3:12.4.254.21-1.22.13.1.1.module+el9.5.0+90517+729550a4 ELSA-2025-1613
Oracle Linux 8 nodejs +3 1:18.20.6-1.module+el8.10.0+90515+1118f177 ELSA-2025-1611, ELSA-2025-1582, ELSA-2025-1351
Oracle Linux 8 nodejs-libs 1:22.13.1-1.module+el8.10.0+90518+cdafa262 ELSA-2025-1611
Oracle Linux 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+90402+68b79193 ELSA-2025-1611, ELSA-2025-1582, ELSA-2025-1351
Oracle Linux 8 nodejs-packaging +1 2021.06-4.module+el8.9.0+90157+ed89dc20 ELSA-2025-1611, ELSA-2025-1582, ELSA-2025-1351
Oracle Linux 8 npm 1:10.8.2-1.18.20.6.1.module+el8.10.0+90515+1118f177 ELSA-2025-1611, ELSA-2025-1582, ELSA-2025-1351
Oracle Linux 8 v8-12.4-devel 3:12.4.254.21-1.22.13.1.1.module+el8.10.0+90518+cdafa262 ELSA-2025-1611

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 No fix yet —
Wolfi rolling nodejs-18 18.20.6-r0 —
Wolfi rolling nodejs-21 21.7.3-r12 —

Advisories 37

References