CVE-2026-87029
published medium CVSS 3.1 · 5.9undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| undici | — | undici7.15.0 to < 7.30.1 (affected · semver) · 7.30.1 (unaffected · semver) · 8.0.0 to < 8.12.2 (affected · semver) · 8.12.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3330 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | nodejs24aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3330 |
| Amazon Linux | AL2023 | nodejs24noarch | Listed in advisory | Not stated | ALAS2023-2026-3330 |
| Amazon Linux | AL2023 | nodejs24src | Listed in advisory | Not stated | ALAS2023-2026-3330 |
| Amazon Linux | AL2023 | nodejs24x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3330 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| undici | undici | 7.15.0 to < 7.30.1 (affected · semver)7.30.1 (unaffected · semver)8.0.0 to < 8.12.2 (affected · semver)8.12.2 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-248 CWE-248: Uncaught Exception
References
2Provider assertions
2openjs · cna
undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 85f86a4b96646b1372e63aa07177ac4eef69e5f91ed1460e32fbcee599c8cfb1
- Ingested
- 16 Oct 2026, 20:28:24 UTC
- Source record
- Official CVE record