Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious WebSocket server
-
DeliveryStream flood of small PING frames
-
ExploitClient auto-queues PONGs ignoring backpressure
-
ExecutionOutbound queue and heap grow unbounded
-
ImpactNode.js process exhausts memory and terminates
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim Node.js process to act as a WebSocket client (via undici's WebSocket or the Node.js-bundled global WebSocket) and to establish or maintain a connection to an attacker-controlled or compromised WebSocket server; the attacker's server then sends a sustained stream of PING frames while refusing to read the client's PONG responses. No authentication is required (PR:N) and no special target configuration beyond normal WebSocket client usage is needed. The practical limiting factor is directional: the flaw affects outbound client connections, not listening services, so it is only reachable in applications that open WebSocket connections to untrusted, third-party, or potentially compromised endpoints. Affected version ranges are undici 5.15.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1; there is no workaround other than upgrading to 6.29.1, 7.30.1, or 8.12.2 (or later). |
| Impact | The signals here are internally consistent and point to a genuine but bounded availability risk rather than 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) describes a remote, unauthenticated, low-complexity attack with high availability impact and no confidentiality or integrity impact - a classic CWE-400 resource-exhaustion denial of service. The EPSS score of 0.31% (22nd percentile) is low, and CISA's SSVC framework rates Exploitation as 'none', Automatable as 'no', and Technical Impact as only 'partial', all of which argue against urgent, widespread exploitation. There is no CISA KEV listing and no public exploit identified at time of analysis, so this is not a confirmed in-the-wild threat. The one factor that elevates real-world concern beyond the raw numbers is deployment footprint: undici is bundled into Node.js and backs its global fetch and WebSocket APIs, so the affected code is extraordinarily widespread. The key limiting factor, which the single 7.5 number obscures, is directional - exploitation requires the victim Node.js process to act as a WebSocket client connecting to an attacker-controlled or compromised server, so it does not expose passive listening services. Net assessment: a legitimate, worth-patching availability bug, but a routine-priority one, not a drop-everything issue; prioritize for applications that open WebSocket connections to untrusted or third-party endpoints. |
| Exploit ScenarioDerived | A Node.js application uses undici's WebSocket client (or the Node.js global WebSocket) to connect to an endpoint an attacker controls or has compromised. The malicious server streams a continuous flood of small PING frames while never reading the client's PONG replies; because the client auto-responds to every PING and ignores socket write backpressure, its outbound queue and heap grow without bound until the process exhausts memory and crashes. No exploit code is publicly identified at this time, but the technique is straightforward and asymmetric. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Memory exhaustion in undici's WebSocket client affects applications using undici 5.15.0 through 6.29.0, 7.0.0 through 7.30.0, or 8.0.0 through 8.12.1, including Node.js releases that expose the bundled global WebSocket. A malicious or compromised WebSocket server can stream PING frames while refusing to read the client's PONG responses, causing an unbounded outbound write queue and heap growth that terminates the Node.js process; exploitation is remote and unauthenticated when the victim initiates the client connection. No public exploit identified at time of analysis, EPSS is low at 0.31% (22nd percentile), and vendor fixes are available in undici 6.29.1, 7.30.1, and 8.12.2.
Earlier versions of this analysis (1)
Memory exhaustion in undici's WebSocket client (versions 5.15.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, including the WebSocket bundled with and exposed by Node.js) allows a malicious or compromised WebSocket server to crash the victim process. For every PING frame received the client automatically writes a PONG response while ignoring socket write backpressure, so a server that streams small PING frames and never reads the client's PONGs causes the outbound write queue and heap to grow without bound until the Node.js process terminates. The attack is remote, requires no authentication (CVSS PR:N), and needs only that an affected client connect outbound to an attacker-controlled endpoint; no public exploit code has been identified at time of analysis, and the sole impact is availability, which is why this is assessed as a genuine but moderate-priority issue at CVSS 5.9.
RemediationAI
Upgrade undici to 6.29.1, 7.30.1, or 8.12.2 (or later), which are the vendor-released fixed versions; the advisory states there is no workaround. Applications that consume the Node.js-bundled global WebSocket should update to a Node.js release that incorporates one of those undici versions, or otherwise ensure the resolved undici dependency is patched. Consult the GitHub advisory at https://github.com/nodejs/undici/security/advisories/GHSA-9fm3-97px-rjf6 and the OpenJS CNA page at https://cna.openjsf.org/security-advisories.html for release mapping. If an upgrade cannot be applied immediately, restrict client WebSocket connections to trusted endpoints as a compensating control, accepting that this does not fix the flaw and may break legitimate third-party integrations.
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 Node.js's HTTP client library, and its WebSocket implementation handles RFC 6455 control frames such as PING and PONG. The root cause is CWE-400 uncontrolled resource consumption: for each inbound PING, the client automatically queues a PONG write but ignores the socket's backpressure signal, so when a server sends a sustained stream of small PING frames and never drains the client's PONGs, the outbound stream buffer and heap grow without bound. The CPE cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:* identifies the affected package, and the exposure extends to applications using the Node.js-bundled global WebSocket. The fixed versions (6.29.1, 7.30.1, 8.12.2) pause WebSocket frame parsing when the automatic PONG write encounters backpressure and resume on drain, which bounds the outbound queue.
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
Remote unauthenticated (AV:N/PR:N), low-complexity PING flood with no user interaction (AC:L/UI:N); only availability is affected (A:H, C:N/I:N) via memory exhaustion within the same process (S:U).
Primary rating from Vendor (openjs).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
undici is an HTTP client library for Node.js. In versions 5.15.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, its WebSocket client, including the bundled WebSocket exposed by Node.js, can be driven to exhaust process memory by a malicious or compromised WebSocket server. For every PING frame received, the client automatically writes a PONG response and ignores the backpressure signal from the socket write, so a server that streams small PING frames while never reading the client's PONGs makes the outbound write queue and heap grow without bound until the Node.js process runs out of memory and terminates. The attack is remote and unauthenticated, needs only a normal WebSocket connection, and is asymmetric, since small inbound PINGs produce a much larger retained outbound queue, with availability the only impact. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which pause WebSocket frame parsing when the automatic PONG response hits socket backpressure and resume on drain, bounding the outbound queue, and users should upgrade to one of those versions or later. There is no workaround.
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption), with the advisory also tagging CWE-405 (Asymmetric Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling).
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
Undici's WebSocket client, including Node.js releases that expose the bundled global WebSocket, can be driven into memory exhaustion by a malicious or compromised server, terminating the Node.js process and disrupting applications that depend on it. Leadership should care because affected Node.js services can suffer availability loss when they initiate outbound WebSocket connections to untrusted endpoints, even though no public exploit has been identified at time of analysis and EPSS is low. Vendor-released fixes are available, so exposure is manageable through inventory and upgrade discipline.
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-102321
GHSA-9fm3-97px-rjf6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB