- Home
- Vulnerabilities
- CVE-2026-87029
CVE-2026-87029
undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
Summary
undici is an HTTP client library for Node.js. In versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1, its decompress interceptor forwards decompressed response data to the downstream handler from zlib stream event callbacks without catching exceptions those callbacks may throw, and while undici's engine converts a synchronous throw from a downstream handler into a per-request failure, that protection is absent when the throw happens asynchronously from a zlib callback. As a result, a downstream handler that throws by design, such as the built-in dump interceptor which throws when a response exceeds its configured maximum size, escapes as an uncaught exception that terminates the Node.js process. A malicious or compromised HTTP server can crash any client that composes the decompress interceptor with such a handler by returning a small compressed body that decompresses to more than the configured limit, so only the decompressed size matters and the bytes on the wire stay tiny. The issue is fixed in undici 7.30.1 and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, avoid composing the decompress interceptor with a response handler that throws during response processing until upgrading.
Affected products and versions
undici (2 line(s))
Nodejs (2 line(s))
Fix
Upgrade — npm/undici 7.30.1; npm/undici 8.12.2official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1539)
CERT-FR advisories
- CERTFR-2026-AVI-1539 — Multiples vulnérabilités dans les produits IBM (13 novembre 2026) 13 Nov 2026
- GHSA-55wc-3pg8-jfw6 — undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor 27 Oct 2026
References
- https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6WEB
- https://cna.openjsf.org/security-advisories.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-87029ADVISORY
- https://github.com/nodejs/undici/commit/63cba7712ca012b2603c6aeeb4c72d8692332cd0WEB
- https://github.com/nodejs/undici/commit/f851f315db1f2acce0ea668f88d9d0fa61c8420cWEB
- https://github.com/nodejs/undiciPACKAGE
- https://github.com/nodejs/undici/releases/tag/v7.30.1WEB
- https://github.com/nodejs/undici/releases/tag/v8.12.2WEB
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-248 · Autre (CWE-248)