Vulnerability
CVE-2026-87029
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.
19 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALAS2023-2026-3330
Amazon Linux 2023 - ALAS2023-2026-3330: Important priority package update for nodejs24
- CGA-3pgc-mc7f-7pq8
- CGA-57g3-3rcp-2xh4
- CGA-7crh-w9xm-wmrq
- CGA-7hhf-8mmf-xv7c
- CGA-86cc-3v4r-8928
- CGA-89jj-cg3r-8g6c
- CGA-8x5w-jvf4-5pg3
- CGA-96mr-rxgv-q8qg
- CGA-c4f5-h3v5-x779
- CGA-cf2r-m47f-cghh
- CGA-q5xm-cffj-ggv4
- CGA-qfmp-cq97-9cjx
-
DEBIAN-CVE-2026-87029
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…
-
GHSA-55wc-3pg8-jfw6
undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
-
RHSA-2026:84657
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:84706
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHVEX-CVE-2026-87029
undici: undici: Denial of Service via unhandled exception in decompress interceptor
-
UBUNTU-CVE-2026-87029
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…