1. Home
  2. Vulnerabilities
  3. CVE-2026-87029

CVE-2026-87029

undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor

Published 15 Oct 2026 · modified 19 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 38/100

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))
undici
ProductVersionsFixed inSource
undici from 7.15.0 (included) to 7.30.1 (excluded) — CNA (vendor or assigner)
undici from 8.0.0 (included) to 8.12.2 (excluded) — CNA (vendor or assigner)
Nodejs (2 line(s))
Nodejs
ProductVersionsFixed inSource
Undici from 7.15.0 (included) to 7.30.1 (excluded) — NVD
Undici from 8.0.0 (included) to 8.12.2 (excluded) — NVD
npm (2 line(s))
npm
ProductVersionsFixed inSource
undici from 7.15.0 (included) to 7.30.1 (excluded) 7.30.1 GitHub Advisory
undici from 8.0.0 (included) to 8.12.2 (excluded) 8.12.2 GitHub Advisory

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

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1539)

CERT-FR advisories

References

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)

How this data is obtained and calculated