Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-2581 EUVD-2026-11705GHSA-phc3-fgpg-7m6h

undici is vulnerable to Unbounded Memory Consumption in in Undici's DeduplicationHandler via Response Buffering leads to DoS

Published Mar 12, 2026 · Updated Mar 13, 2026 · Assigned by openjs

Description

This is an uncontrolled resource consumption vulnerability (CWE-400) that can lead to Denial of Service (DoS).

In vulnerable Undici versions, when interceptors.deduplicate() is enabled, response data for deduplicated requests could be accumulated in memory for downstream handlers. An attacker-controlled or untrusted upstream endpoint can exploit this with large/chunked responses and concurrent identical requests, causing high memory usage and potential OOM process termination.

Impacted users are applications that use Undici’s deduplication interceptor against endpoints that may produce large or long-lived response bodies.

PatchesThe issue has been patched by changing deduplication behavior to stream response chunks to downstream handlers as they arrive (instead of full-body accumulation), and by preventing late deduplication when body streaming has already started.

Users should upgrade to the first official Undici (and Node.js, where applicable) releases that include this patch.

Affected products

VendorProductAffectedFixed
undici undici < 6.24.0; 7.0.0 < 7.24.0 6.24.0: 7.24.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
Debian 14 node-undici 7.24.5+dfsg+~cs3.2.0-1 —
Debian 13 node-undici No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-undici No fix yet —
Ubuntu 26.04 LTS node-undici No fix yet —
Ubuntu 25.10 node-undici No fix yet —
Ubuntu 24.04 LTS node-undici No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 nodejs24 +4 1:24.14.1-2.el10_1 RHSA-2026:7675
RHEL 10 nodejs24-npm 1:11.11.0-1.24.14.1.2.el10_1 RHSA-2026:7675
RHEL 9 nodejs +4 1:24.14.1-2.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 nodejs-nodemon 3.0.3-3.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 nodejs-packaging +1 2021.06-6.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 npm 1:11.11.0-1.24.14.1.2.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 8 nodejs +4 1:24.14.1-2.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 nodejs-nodemon 3.0.3-1.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 nodejs-packaging +1 2021.06-6.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 npm 1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+24190+49a46c75 RHSA-2026:7670

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 nodejs24-docs 1:24.14.1-2.el10_1 ALSA-2026:7675
AlmaLinux 10 nodejs24-npm 1:11.11.0-1.24.14.1.2.el10_1 ALSA-2026:7675
AlmaLinux 9 nodejs +4 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 ALSA-2026:7350
AlmaLinux 9 nodejs-nodemon 3.0.3-3.module_el9.7.0+209+ecf6523e ALSA-2026:7350
AlmaLinux 9 nodejs-packaging 2021.06-6.module_el9.7.0+209+ecf6523e ALSA-2026:7350
AlmaLinux 9 nodejs-packaging-bundler 2021.06-6.module_el9.7.0+198+8bf605ba ALSA-2026:7350
AlmaLinux 9 npm 1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1 ALSA-2026:7350
AlmaLinux 9 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1 ALSA-2026:7350
AlmaLinux 8 nodejs +4 1:24.14.1-2.module_el8.10.0+4160+4819ac42 ALSA-2026:7670
AlmaLinux 8 nodejs-nodemon 3.0.3-1.module_el8.10.0+4061+f8ceeab9 ALSA-2026:7670
AlmaLinux 8 nodejs-packaging +1 2021.06-6.module_el8.10.0+4086+70facd4a ALSA-2026:7670
AlmaLinux 8 npm 1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42 ALSA-2026:7670
AlmaLinux 8 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42 ALSA-2026:7670

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 nodejs24 1:24.14.1-2.el10_1 RLSA-2026:7675
Rocky Linux 9 nodejs-nodemon 3.0.3-3.module+el9.7.0+40025+0e0cf6b2 RLSA-2026:7350
Rocky Linux 9 nodejs-packaging 2021.06-6.module+el9.7.0+40052+e32ea525 RLSA-2026:7350
Rocky Linux 8 nodejs-nodemon 3.0.3-1.module+el8.10.0+2084+ab509703 RLSA-2026:7670
Rocky Linux 8 nodejs-packaging 2021.06-6.module+el8.10.0+40048+6d99f608 RLSA-2026:7670
ReleasePackageFixed inAdvisory
SLES 15 SP7 nodejs24 24.17.0-150700.15.11.1 SUSE-SU-2026:2633-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 nodejs24 24.18.0-160000.1.1 SUSE-SU-2026:22565-1
SLES 16.0 nodejs24 24.18.0-160000.1.1 SUSE-SU-2026:22565-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs24 24.17.0-1.1 openSUSE-SU-2026:11121-1
openSUSE Leap 16.0 nodejs24 24.18.0-160000.1.1 openSUSE-SU-2026:21236-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs24 +4 1:24.14.0-1.amzn2023.0.2 ALAS2023-2026-1526
Amazon Linux 2023 nodejs24-npm 1:11.9.0-1.24.14.0.1.amzn2023.0.2 ALAS2023-2026-1526
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.14.0.1.amzn2023.0.2 ALAS2023-2026-1526

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 nodejs24 +4 1:24.14.1-2.0.2.el10_1 ELSA-2026-7675
Oracle Linux 10 nodejs24-npm 1:11.11.0-1.24.14.1.2.0.2.el10_1 ELSA-2026-7675
Oracle Linux 9 nodejs +4 1:24.14.1-2.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 nodejs-nodemon 3.0.3-3.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 nodejs-packaging +1 2021.06-6.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 npm 1:11.11.0-1.24.14.1.2.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 8 nodejs +4 1:24.14.1-2.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 nodejs-nodemon 3.0.3-1.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 nodejs-packaging +1 2021.06-6.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 npm 1:11.11.0-1.24.14.1.2.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+90873+35652ecc ELSA-2026-7670

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.110.1-r2 —
Wolfi rolling jitsucom-jitsu-rotor 2.11.0-r17 —
Wolfi rolling renovate 43.84.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm undici >= 7.17.0, < 7.24.0 7.24.0 GHSA-phc3-fgpg-7m6h

Advisories 18

References