Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessClient connects to malicious/compromised HTTP server
-
DeliveryServer returns tiny compressed body (decompression bomb)
-
ExploitDecompress interceptor expands body past configured limit
-
ExecutionDownstream handler throws from zlib callback
-
ImpactUncaught exception terminates Node.js process (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires that the victim client specifically composes undici's decompress interceptor together with a downstream response handler that throws during response processing - the canonical example being the built-in dump interceptor configured with a maximum response size. The client must also initiate a request to a server the attacker controls or has compromised. The attack itself is simple once those conditions hold: the server returns a small compressed body that decompresses beyond the configured limit, so only the decompressed size matters and on-the-wire bytes stay tiny. The key LIMITING factor is that this interceptor combination is NOT undici's default behavior - applications that do not compose decompress with a throwing handler are unaffected - and only the vulnerable version ranges (7.15.0-7.30.0, 8.0.0-8.12.1) are impacted. |
| Impact | Signals are consistent and point to a genuine but bounded availability risk, not a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is driven entirely by the availability impact - there is no confidentiality or integrity exposure (C:N/I:N); this is a pure denial-of-service via an uncaught exception (CWE-248) that terminates the Node.js process. EPSS is low at 0.25% (15th percentile), the CVE is NOT in CISA KEV, and SSVC records Exploitation: none, Automatable: no, Technical Impact: partial - all of which agree that there is no evidence of active or automatable exploitation. These signals are mutually reinforcing rather than conflicting: a low EPSS alongside no KEV listing and SSVC 'Exploitation: none' indicates no observed real-world attacks. One important nuance the raw CVSS does not capture: exploitation is conditional on the victim client's own configuration (composing the decompress interceptor with a handler that throws, e.g. the dump interceptor with a maxSize), so PR:N is technically correct (the attacker - a malicious/compromised server - needs no privileges) but the realistic attack surface is narrower than a 7.5 network-unauthenticated flaw would suggest. Treat this as a prompt-but-routine patch for teams actually using that interceptor combination, not a drop-everything incident. |
| Exploit ScenarioDerived | A client application built on undici composes the decompress interceptor with the dump interceptor (or any handler that throws when a response exceeds a configured maximum size) and makes a request to an attacker-controlled or compromised HTTP server. The server returns a tiny gzip/deflate body that decompresses to more than the client's configured limit; the downstream handler throws asynchronously from a zlib callback, undici fails to catch it, and the uncaught exception crashes the entire Node.js process. No public exploit code has been identified, but the technique is trivial to reproduce given the detailed advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Process-terminating denial of service in undici, the Node.js HTTP client, affecting versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1. When an application composes the decompress interceptor with a downstream response handler that throws during response processing - most notably the built-in dump interceptor hitting its configured maximum response size - a remote server controlled or compromised by an attacker can return a tiny compressed body that expands past that limit, and the resulting throw originates asynchronously inside a zlib stream callback where undici's engine does not convert it into a per-request failure, so it surfaces as an uncaught exception that terminates the Node.js process. The assessed vector (AV:N/AC:L/PR:N/UI:N, availability-only, A:H) makes this an unauthenticated remote crash with low attack complexity, but exposure is bounded because the vulnerable interceptor pairing is not undici's default behaviour and only the listed version ranges are affected. Vendor patches are available in 7.30.1 and 8.12.2, EPSS is low at 0.25% (15th percentile), SSVC records exploitation as none and automatable as no, and no public exploit code was identified at time of analysis.
Earlier versions of this analysis (1)
Process-terminating denial of service in the undici HTTP client library for Node.js (7.15.0 through 7.30.0 and 8.0.0 through 8.12.1) allows a malicious or compromised HTTP server to crash a connecting client by returning a small compressed body that expands past the client's configured response-size limit. The flaw only manifests when an application composes the decompress interceptor with a downstream handler that deliberately throws during response processing - most notably the built-in dump interceptor - because such exceptions are raised asynchronously from zlib stream callbacks, where undici's normal per-request error conversion does not apply, so the throw becomes an uncaught exception that terminates the Node.js process. Per the CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, 5.9) this is an unauthenticated remote crash with no confidentiality or integrity impact, and the AC:H rating reflects the non-default interceptor-stacking prerequisite rather than any authentication barrier; no public exploit code and no confirmed active exploitation were identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to undici 7.30.1 or 8.12.2, or any later release, as documented in GHSA-55wc-3pg8-jfw6 at https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6; if undici is a transitive dependency or bundled in a Node.js runtime, update the parent package or runtime to a build carrying the fixed library and verify the resolved version. If upgrading immediately is not possible, apply the vendor workaround and stop composing the decompress interceptor with a handler that throws during response processing - in particular avoid the dump interceptor's maxSize throw path. The trade-off is that you surrender either transparent decompression or the built-in size cap, so replace the cap with an equivalent limit enforced where errors can be returned rather than thrown, for example wrapping the handler in try/catch and converting the throw into a rejected promise, or counting decompressed bytes in a non-throwing handler and aborting the request yourself. Restricting which servers the client will talk to (egress allowlisting, refusing to fetch arbitrary attacker-supplied URLs) reduces reachability but does not fix the defect, and process supervision with automatic restart only shortens the outage window caused by each crash.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
undici is the HTTP client that ships with modern Node.js and is also consumed standalone; its interceptor architecture wraps request and response handling in composable layers, with the decompress interceptor piping gzip, deflate and brotli response bodies through zlib streams before handing chunks to the downstream handler. The defect is classified CWE-248 (Uncaught Exception) and comes down to where the throw is raised: undici's engine catches a synchronous throw from a downstream handler and converts it into a per-request failure, but response data arrives from zlib stream event callbacks, so a handler that throws by design - such as the dump interceptor rejecting a response larger than its configured maxSize - throws asynchronously and escapes that guard, propagating to the process-level uncaughtException path and, with Node's default behaviour, killing the process. Because the limit is checked against decompressed bytes, the attacker's on-the-wire payload can stay tiny while the expanded stream crosses the configured threshold, giving the crash a compression-amplification character. Impact is availability-only: the assessed vector scores no confidentiality or integrity effect, and SSVC records technical impact as partial with exploitation none and automatable no, reflecting the prerequisite that the client must deliberately compose decompress with a throwing handler and must issue a request to an attacker-controlled or compromised server.
Know when Undici gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
A remote malicious server needs no privileges or user interaction (PR:N/UI:N) and the trigger is a simple decompression bomb (AC:L); impact is availability-only process crash (A:H, C:N/I:N).
Primary rating from Vendor (openjs).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Blast Radius
ecosystem impact- 19 npm packages depend on undici (16 direct, 3 indirect)
Ecosystem-wide dependent count for version 7.15.0.
Technical POC Analysis
The bug class is CWE-248 (Uncaught Exception).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A denial-of-service vulnerability in the undici HTTP client can allow an unauthenticated remote attacker to crash Node.js processes in applications that use a non-default decompression interceptor paired with a downstream response handler. Only undici versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1 are affected, and no public exploit has been identified at time of analysis, but any internet-facing service using the vulnerable configuration faces potential availability disruption. Leadership should care because repeated process crashes could degrade customer-facing uptime and require emergency engineering response.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge
Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com
Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from
Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent
Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo
`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th
CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic
Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,
undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection
Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions
Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0
Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug
EUVD-2026-102347
GHSA-55wc-3pg8-jfw6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB