Description
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, the built-in cache stores, MemoryCacheStore and SqliteCacheStore, count response body bytes against their byte limits but hold each delivered body chunk as a separate Buffer, so a malicious or compromised origin can send a cacheable response framed as a very large number of tiny chunks, for example one million one-byte HTTP/1.1 chunks, whose per-object overhead is not bounded by those limits. With MemoryCacheStore a few concurrent such responses, each within the configured entry and total size limits, can exhaust the heap and terminate the process, and with SqliteCacheStore, whose default maximum entry size is 2 GB, a single response is enough. The application only needs to use the cache interceptor with either store and issue cacheable requests to the untrusted origin, which results in denial of service. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, avoid using the cache interceptor with either built-in store for requests to untrusted origins.
Published: 2026-12-05
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

Sat, 05 Dec 2026 10:15:00 +0000

Type Values Removed Values Added
Description undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, the built-in cache stores, MemoryCacheStore and SqliteCacheStore, count response body bytes against their byte limits but hold each delivered body chunk as a separate Buffer, so a malicious or compromised origin can send a cacheable response framed as a very large number of tiny chunks, for example one million one-byte HTTP/1.1 chunks, whose per-object overhead is not bounded by those limits. With MemoryCacheStore a few concurrent such responses, each within the configured entry and total size limits, can exhaust the heap and terminate the process, and with SqliteCacheStore, whose default maximum entry size is 2 GB, a single response is enough. The application only needs to use the cache interceptor with either store and issue cacheable requests to the untrusted origin, which results in denial of service. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, avoid using the cache interceptor with either built-in store for requests to untrusted origins.
Title undici vulnerable to Denial of Service via unbounded cache memory from tiny response chunks
Weaknesses CWE-400
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-12-05T10:00:42.468Z

Reserved: 2026-11-27T15:46:41.241Z

Link: CVE-2026-137980

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-05T10:17:32.183

Modified: 2026-12-05T10:17:32.340

Link: CVE-2026-137980

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-05T15:00:22Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption