Description
undici's decompress interceptor decompresses response bodies according to the untrusted Content-Encoding header. While the number of content-encoding layers is capped, the total decompressed output size is unbounded and there is no configuration option to limit it. A malicious or faulty upstream can therefore return a small compressed payload, a compression bomb, that expands to hundreds of megabytes or more in client memory, an asymmetric resource consumption that can exhaust memory and crash the process. This affects undici versions from 7.15.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Published: 2026-09-04
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service through memory exhaustion
Action: Upgrade patch
AI Analysis

Impact

Undici’s decompress interceptor blindly expands response bodies based on the untrusted Content‑Encoding header. While the number of content‑encoding layers is capped, the total decompressed size is unlimited, giving an attacker the ability to send a tiny compressed payload that expands to hundreds of megabytes or more, exhausting the client’s memory and causing the process to crash. This flaw is classified as a resource‑exhaustion vulnerability (CWE‑770) and a concurrency error (CWE‑409), and results in a denial of service that can disrupt application availability.

Affected Systems

The vulnerability exists in undici versions 7.15.0 through 7.29.1 and 8.0.0 through 8.10.2. The affected product is the JavaScript HTTP client library undici, commonly used in Node.js applications.

Risk and Exploitability

With a CVSS score of 5.9, the flaw represents moderate severity. The exploit probability is not quantified (EPSS not available) and the vulnerability is not listed in CISA’s KEV catalog, indicating no known large‑scale exploitation to date. However, any system that acts as an undici client and receives responses from an untrusted upstream can be targeted. A malicious sender can craft a response encoded with a compression bomb that, when decompressed by the client, consumes excessive memory, ultimately leading to process termination and service disruption. The attack vector requires network access to the client’s inbound traffic where undici processes responses.

Generated by OpenCVE AI on September 5, 2026 at 01:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade undici to version 7.29.1 or 8.10.2, which includes the fix for this unbounded decompression issue.
  • Restrict or strip Content‑Encoding headers from upstream responses before they reach the decompression interceptor, preventing compression bombs.
  • Configure memory limits or monitor resource usage to detect and mitigate excessive decompression, such as placing the undici client behind a container with capped memory or enabling OS limits.

Generated by OpenCVE AI on September 5, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs undici
CPEs cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
Vendors & Products Nodejs
Nodejs undici

Sat, 05 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-409
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 04 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Fri, 04 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Description undici's decompress interceptor decompresses response bodies according to the untrusted Content-Encoding header. While the number of content-encoding layers is capped, the total decompressed output size is unbounded and there is no configuration option to limit it. A malicious or faulty upstream can therefore return a small compressed payload, a compression bomb, that expands to hundreds of megabytes or more in client memory, an asymmetric resource consumption that can exhaust memory and crash the process. This affects undici versions from 7.15.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Title undici vulnerable to Denial of Service via unbounded decompression of compressed responses
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-09-04T18:33:28.246Z

Reserved: 2026-09-02T14:36:25.597Z

Link: CVE-2026-84890

cve-icon Vulnrichment

Updated: 2026-09-04T18:33:24.395Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-04T18:18:01.633

Modified: 2026-09-11T16:55:29.047

Link: CVE-2026-84890

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-04T17:04:28Z

Links: CVE-2026-84890 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:30:17Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

  • CWE-770

    Allocation of Resources Without Limits or Throttling