{"id":"CVE-2026-84890","aliases":["CVE-2026-84890","GHSA-3xpg-4rpp-hhhm"],"related":[],"kind":"vulnerability","state":"published","title":"undici vulnerable to Denial of Service via unbounded decompression of compressed responses","summary":"undici's decompress interceptor decompresses response bodies according to the untrusted Content-Encoding header. While the number of content-encoding layers is capped, the total decompressed output size is unbounded and there is no configuration option to limit it. A malicious or faulty upstream can therefore return a small compressed payload, a compression bomb, that expands to hundreds of megabytes or more in client memory, an asymmetric resource consumption that can exhaust memory and crash the process. This affects undici versions from 7.15.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"undici's decompress interceptor decompresses response bodies according to the untrusted Content-Encoding header. While the number of content-encoding layers is capped, the total decompressed output size is unbounded and there is no configuration option to limit it. A malicious or faulty upstream can therefore return a small compressed payload, a compression bomb, that expands to hundreds of megabytes or more in client memory, an asymmetric resource consumption that can exhaust memory and crash the process. This affects undici versions from 7.15.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe `interceptors.decompress()` interceptor decompresses HTTP response bodies according to the untrusted `Content-Encoding` header. The number of decompression layers is capped at 5, but the total decompressed output size is not bounded and there is no option to limit it. A malicious or faulty upstream can return a small compressed payload (a compression bomb) that expands to hundreds of megabytes or gigabytes in client memory, exhausting memory and causing the Node.js process to crash or become unresponsive. Any application using the decompress interceptor to read responses from untrusted or compromised upstreams is affected.\n\n### Patches\n\nUpgrade to `7.29.1` or `8.10.2`. The interceptor now accepts a `maxSize` option (default 64 MiB) and rejects responses whose decompressed output exceeds it with a `ResponseExceededMaxSizeError`.\n\n### Workarounds\n\nOnce upgraded, set a conservative `maxSize` on the interceptor. Before upgrading, avoid using `interceptors.decompress()` with untrusted upstreams, or apply a custom interceptor that enforces a decompressed output size limit.","format":"markdown","source":"ghsa"}],"published":"2026-09-04T17:04:28.261Z","modified":"2026-09-29T18:30:41.143Z","severity":{"scorer":"openjs","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"7.15.0","fixed":"7.29.1","status":"affected"},{"type":"semver","version":"7.29.1","status":"unaffected"},{"type":"semver","introduced":"8.0.0","fixed":"8.10.2","status":"affected"},{"type":"semver","version":"8.10.2","status":"unaffected"}],"vendor":"undici","product":"undici","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.15.0","status":"affected","fixed":"7.29.1"}],"ecosystem":"npm","package":"undici","purl":"pkg:npm/undici","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.10.2"}],"ecosystem":"npm","package":"undici","purl":"pkg:npm/undici","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.15.0","fixed":"7.29.1"},{"status":"affected","introduced":"8.0.0","fixed":"8.10.2"}],"vendor":"nodejs","product":"undici","cpe":"cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3xpg-4rpp-hhhm","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84890","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nodejs/undici/commit/2c7d7e1227043c644c4c32cfd1e276f4fd4fcb11","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nodejs/undici/commit/7aac7f12f757844763c8b8f1ab6e305e80d55838","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nodejs/undici","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/nodejs/undici/releases/tag/v7.29.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nodejs/undici/releases/tag/v8.10.2","tags":["web"],"sources":["ghsa"]}],"credits":["mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-04T18:32:49.819Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-84890","url":"https://www.cve.org/CVERecord?id=CVE-2026-84890","licence":"CVE Terms of Use","modified":"2026-09-04T18:33:28.246Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3xpg-4rpp-hhhm","url":"https://github.com/advisories/GHSA-3xpg-4rpp-hhhm","licence":"CC-BY-4.0","modified":"2026-09-29T18:30:41.143Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-84890","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84890","licence":"Public domain","modified":"2026-09-11T16:55:29.047Z"}],"updatedAt":"2026-11-25T22:59:36.394Z","epss":{"score":0.0025,"percentile":0.17535,"date":"2026-12-01T12:00:22.000Z"}}