Description
undici is an HTTP client for Node.js. In versions 7.29.0 through 7.30.3 and 8.9.0 through 8.14.0, when the RFC 9111 cache interceptor is in use, undici parses the server's Cache-Control and Vary response headers with an optional-whitespace trimming helper whose regular expression backtracks quadratically. A malicious or compromised origin that returns a header value with a long run of internal whitespace forces the client to spend quadratic CPU time parsing a single, size-bounded response, synchronously blocking the Node.js event loop for around 100 to 200 milliseconds at the default maximum header size, and for several seconds when applications raise that limit, with concurrent responses serialized. The default fetch and request paths are not affected because they trim response headers with a linear scanner, so only applications that use the cache interceptor are affected. 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, do not use the cache interceptor.
Published: 2026-12-05
Score: 3.7 Low
EPSS: n/a
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 14:15:00 +0000

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

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

Type Values Removed Values Added
Description undici is an HTTP client for Node.js. In versions 7.29.0 through 7.30.3 and 8.9.0 through 8.14.0, when the RFC 9111 cache interceptor is in use, undici parses the server's Cache-Control and Vary response headers with an optional-whitespace trimming helper whose regular expression backtracks quadratically. A malicious or compromised origin that returns a header value with a long run of internal whitespace forces the client to spend quadratic CPU time parsing a single, size-bounded response, synchronously blocking the Node.js event loop for around 100 to 200 milliseconds at the default maximum header size, and for several seconds when applications raise that limit, with concurrent responses serialized. The default fetch and request paths are not affected because they trim response headers with a linear scanner, so only applications that use the cache interceptor are affected. 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, do not use the cache interceptor.
Title undici vulnerable to Denial of Service via quadratic Cache-Control and Vary header parsing
Weaknesses CWE-1333
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-12-05T10:20:06.705Z

Reserved: 2026-11-18T09:58:44.308Z

Link: CVE-2026-132045

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-05T11:17:41.957

Modified: 2026-12-05T11:17:42.097

Link: CVE-2026-132045

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-05T14:00:21Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity