{"id":"CVE-2026-2581","published":"2026-03-12T20:13:19Z","modified":"2026-03-13T18:04:58Z","title":"undici is vulnerable to Unbounded Memory Consumption in in Undici's DeduplicationHandler via Response Buffering leads…","vendor":"undici","product":"undici","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.51125,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h","tags":[]},{"url":"https://hackerone.com/reports/3513473","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":10.22},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":["< 6.24.0; 7.0.0 < 7.24.0"]}],"fixedVersions":[{"vendor":"undici","product":"undici","versions":["6.24.0: 7.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-13T18:04:49.981133Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=7.17.0, <7.24.0"],"patched":["7.24.0"],"from":["GHSA-phc3-fgpg-7m6h"],"provenance":"source"}],"summary":{"text":"The flaw is an unbounded memory consumption issue in Undici's DeduplicationHandler, part of the undici HTTP client, which buffers response data for deduplicated requests when the interceptors.deduplicate() option is enabled. An attacker who controls or can influence an upstream endpoint can exploit it by sending large or chunked responses alongside concurrent identical requests, which drives memory usage up and can crash the process; the attack requires that the application uses the deduplication interceptor against such an endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:28Z"},"euvd":{"id":"EUVD-2026-11705","exploited":false,"provenance":"source"}}