CVE-2026-137980
Awaiting Analysis Awaiting Analysis - Queue

Heap exhaustion in undici HTTP client cache stores

Vulnerability report for CVE-2026-137980, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: openjs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
nodejs undici 7.0.0
nodejs undici 7.30.3
nodejs undici 8.0.0
nodejs undici 8.14.0
nodejs undici From 7.30.4 (inc)
nodejs undici From 8.14.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici HTTP client for Node.js 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 size limits but store each chunk as a separate Buffer. A malicious origin can send cacheable responses as many tiny chunks, causing excessive memory usage. MemoryCacheStore can exhaust heap with concurrent responses, while SqliteCacheStore allows a single large response to exceed limits.

Detection Guidance

Monitor Node.js applications using undici versions 7.0.0 to 7.30.3 or 8.0.0 to 8.14.0 with cache interceptor enabled. Check for excessive memory usage or process crashes when handling responses from untrusted origins. Use process monitoring tools like top, htop, or Node.js heap snapshots to detect abnormal memory consumption patterns.

Impact Analysis

This vulnerability can lead to denial of service by exhausting system memory or storage. Applications using undici's cache interceptor with untrusted origins may crash or become unresponsive due to excessive memory consumption or storage limits being exceeded.

Compliance Impact

This vulnerability primarily impacts system availability by enabling denial-of-service attacks through memory exhaustion. It does not directly affect data confidentiality or integrity, which are key concerns for GDPR and HIPAA. However, prolonged unavailability could lead to compliance violations if critical services are disrupted.

Mitigation Strategies

Upgrade undici to version 7.30.4 or 8.14.1 or later. Avoid using the cache interceptor with either built-in store for requests to untrusted origins.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137980. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...