CVE-2026-87029undici vulnerable to Denial of Service via unhandled exception in the decompress…
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-undici | Fix pending | UBUNTU-CVE-2026-87029 | |
| Ubuntu 26.04 | node-undici | Under investigation | UBUNTU-CVE-2026-87029 | |
| Ubuntu 24.04 | node-undici | Under investigation | UBUNTU-CVE-2026-87029 | |
| Debian 14 | node-undici | Fixed | 8.12.2+dfsg+~cs3.2.3-1 | DEBIAN-CVE-2026-87029 |
| Debian 13 | node-undici | Fix pending | DEBIAN-CVE-2026-87029 | |
| Debian 12 | node-undici | Fix pending | DEBIAN-CVE-2026-87029 | |
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fix pending Fix deferred | ||
| npm library | undici | Fixed | 8.12.2 | GHSA-55wc-3pg8-jfw6 |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- undici: affected: 7.15.0 to before 7.30.1, 7.30.1 not affected, 8.0.0 to before 8.12.2, 8.12.2 not affected; fixed in
7.30.1,8.12.2
References
- https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.