CVE-2026-2581

NameCVE-2026-2581
DescriptionThis 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-undici (PTS)bookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4fixed
bookworm (security)5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3fixed
trixie7.3.0+dfsg1+~cs24.12.11-1vulnerable
forky, sid7.18.2+dfsg+~cs3.2.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-undicisourcebookworm(not affected)
node-undicisource(unstable)(unfixed)

Notes

[bookworm] - node-undici <not-affected> (Vulnerable code not present)
https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h
https://github.com/nodejs/undici/commit/5890c7b7076894d00402f0c23c0fe72e59c72ff4 (v7.24.0)

Search for package or bug name: Reporting problems