{"cve":"CVE-2026-2581","nvd":{"published":"2026-03-12T21:16:25.930","modified":"2026-06-17T10:31:21.140","status":"Analyzed","description":"This is an uncontrolled resource consumption vulnerability (CWE-400) that can lead to Denial of Service (DoS).\n\nIn 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.\n\nImpacted users are applications that use Undici’s deduplication interceptor against endpoints that may produce large or long-lived response bodies.\n\nPatchesThe 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.\n\nUsers should upgrade to the first official Undici (and Node.js, where applicable) releases that include this patch.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9},"cwes":["CWE-770"],"references":["https://cna.openjsf.org/security-advisories.html","https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h","https://hackerone.com/reports/3513473"],"products":["nodejs:undici"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-2581","score":0.00589,"percentile":0.4816,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-phc3-fgpg-7m6h","url":"https://osv.dev/vulnerability/GHSA-phc3-fgpg-7m6h","summary":"Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS","modified":"2026-09-10T03:50:40.209102192Z","packages":[{"ecosystem":"npm","name":"undici","purl":"pkg:npm/undici","ranges":[">=7.17.0 <7.24.0"],"fixed":["7.24.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}