{"id":"CVE-2026-109869","published":"2026-10-15T18:08:31Z","modified":"2026-10-16T20:06:00Z","title":"undici vulnerable to Denial of Service via unhandled error on excessive content-encodings","vendor":"undici","product":"undici","tier":"tail","description":{"text":"undici is an HTTP client library for Node.js. In versions 6.23.0 through 6.29.0, 7.18.0 through 7.30.0, and 8.0.0 through 8.12.1, its fetch() implementation crashes the Node.js process when a malicious server returns a response with more than five content codings and closes the connection before sending the body. undici rejects such responses because of a content-encoding limit, but it created the internal response stream before that check and returned without attaching an error listener or aborting the request, so the early close surfaces a content-length mismatch on the orphaned stream, which Node.js treats as an unhandled error and terminates the process. A remote, unauthenticated server can trigger this with a single response, even when the application correctly catches the fetch() rejection, resulting in a denial of service. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of those versions or later. There is no workaround.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37075,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":7.42},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":[">= 6.23.0, < 6.29.1",">= 7.18.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":"yes","technicalImpact":"partial","timestamp":"2026-10-16T20:05:44.033842Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=6.23.0, <6.29.1",">=7.18.0, <7.30.1",">=8.0.0, <8.12.2"],"patched":["6.29.1","7.30.1","8.12.2"],"from":["GHSA-xjj6-f33q-929c"],"provenance":"source"}],"summary":{"text":"The undici HTTP client library for Node.js has a flaw in its fetch() implementation, where a response with more than five content codings causes an orphaned internal stream to raise an unhandled error if the server closes the connection before sending the body. An attacker who controls a remote server that the client connects to needs no authentication or user interaction, only the ability to return such a response, which can crash the Node.js process even when the application catches the fetch() rejection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:11Z"},"euvd":{"id":"EUVD-2026-102240","exploited":false,"provenance":"source"}}