{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-2581","assignerOrgId":"ce714d77-add3-4f53-aff5-83d477b104bb","state":"PUBLISHED","assignerShortName":"openjs","dateReserved":"2026-02-16T12:07:35.310Z","datePublished":"2026-03-12T20:13:19.571Z","dateUpdated":"2026-03-13T18:04:58.799Z"},"containers":{"cna":{"providerMetadata":{"orgId":"ce714d77-add3-4f53-aff5-83d477b104bb","shortName":"openjs","dateUpdated":"2026-03-12T20:13:19.571Z"},"title":"undici is vulnerable to Unbounded Memory Consumption in in Undici's DeduplicationHandler via Response Buffering leads to DoS","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-770","description":"CWE-770 Allocation of resources without limits or throttling","type":"CWE"}]}],"affected":[{"vendor":"undici","product":"undici","collectionURL":"https://github.com/nodejs/undici/","packageName":"undici","repo":"https://github.com/nodejs/undici/","versions":[{"status":"affected","version":"< 6.24.0; 7.0.0 < 7.24.0"},{"status":"unaffected","version":"6.24.0: 7.24.0"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>This is an uncontrolled resource consumption vulnerability (CWE-400) that can lead to Denial of Service (DoS).</p><p>In vulnerable Undici versions, when&nbsp;<code>interceptors.deduplicate()</code>&nbsp;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.</p><p>Impacted users are applications that use Undici’s deduplication interceptor against endpoints that may produce large or long-lived response bodies.</p><h2>Patches</h2><p>The 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.</p><p>Users should upgrade to the first official Undici (and Node.js, where applicable) releases that include this patch.</p><p><br></p>"}]}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h"},{"url":"https://hackerone.com/reports/3513473"},{"url":"https://cna.openjsf.org/security-advisories.html"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseSeverity":"MEDIUM","baseScore":5.9,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}}],"credits":[{"lang":"en","value":"Matteo Collina","type":"remediation developer"},{"lang":"en","value":"Ulises Gascón","type":"remediation reviewer"},{"lang":"en","value":"Adnan Jakati","type":"finder"}],"source":{"advisory":"GHSA-phc3-fgpg-7m6h","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-13T18:04:49.981133Z","id":"CVE-2026-2581","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-13T18:04:58.799Z"}}]}}