{"id":"CVE-2026-109924","published":"2026-10-15T18:16:48Z","modified":"2026-10-16T20:05:22Z","title":"undici vulnerable to Denial of Service via unbounded memory in the EventSource parser","vendor":"undici","product":"undici","tier":"tail","description":{"text":"undici is an HTTP client library for Node.js. In versions 6.5.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, its EventSource client can be driven to exhaust process memory by a malicious or compromised Server-Sent Events peer. By sending millions of tiny completed data fields with no blank event separator, or a single unfinished line split across many chunks, the parser retains a growing amount of per-field and per-chunk state that the byte-based maxEventSize and maxResponseSize limits do not bound, and because maxResponseSize is enforced on the compressed body before decompression, a small compressed response can expand into enough retained memory to terminate the process. An application only needs to maintain an EventSource connection to an untrusted peer, which controls only the response, and availability is the only impact. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which bound the retained parser state independently of the byte limits, and users should upgrade to one of those versions or later. There is no workaround.","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.00455,"percentile":0.31478,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-4qv8-2p9j-2685","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":6.3},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":[">= 6.5.0, < 6.29.1",">= 7.0.0, < 7.30.1",">= 8.0.0, < 8.12.2"]}],"fixedVersions":[{"vendor":"undici","product":"undici","versions":["6.29.1","7.30.1","8.12.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T20:05:08.940657Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=6.5.0, <6.29.1",">=7.0.0, <7.30.1",">=8.0.0, <8.12.2"],"patched":["6.29.1","7.30.1","8.12.2"],"from":["GHSA-4qv8-2p9j-2685"],"provenance":"source"}],"summary":{"text":"The undici HTTP client library for Node.js has an unbounded memory flaw in its EventSource parser, affecting versions 6.5.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1. An attacker controlling a Server-Sent Events peer that an application keeps an EventSource connection open to can, with no authentication or user interaction, send crafted data (many tiny fields without event separators, or a long unfinished line in chunks) that exhausts process memory and crashes the process, since existing byte limits do not bound the parser's retained state.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:59Z"},"euvd":{"id":"EUVD-2026-102249","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-undici-cve-2026-12151","parents":[{"from":"CVE-2026-12151","to":"CVE-2026-109924","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/dispatcher/dispatcher-base.js","types/client.d.ts"],"commits":["https://github.com/nodejs/undici/commit/299162740d5f39120092277e70efacb4d151c1c6","https://github.com/nodejs/undici/commit/789ef26461c648480433846607154f52d74ec9ab","https://github.com/nodejs/undici/commit/32dbf0b3dd93daf6d87badf506d52e89f2e20e78"],"basis":"shared function","functions":["DispatcherBase"]}]}]}}