CVE-2026-22036
HIGH 7.5CVSS 3.1Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion
Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory allocation. This vulnerability is fixed in 7.18.0 and 6.23.0.
- Published
- 14 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-g9mf-h72j-4rw9
- Sources
- NVDJSONOSV GHSA-g9mf-h72j-4rw9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
< 6.23.0 | 6.23.0 |
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
>= 7.0.0, < 7.18.2 | 7.18.2 |
| OSV | npm | undici | >= 7.0.0, < 7.18.2 | 7.18.2 |
| OSV | npm | undici | < 6.23.0 | 6.23.0 |
References
- https://github.com/nodejs/undici/commit/b04e3cbb569c1596f86c108e9b52c79d8475dcb3 · Patch, WEB
- https://github.com/nodejs/undici/security/advisories/GHSA-g9mf-h72j-4rw9 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22036 · ADVISORY
- https://github.com/nodejs/undici · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 14 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Jan 2026)