Skip to main content

undici EUVDEUVD-2026-102249

| CVE-2026-109924 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-10-15 openjs GHSA-4qv8-2p9j-2685
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim app opens EventSource to attacker-controlled SSE peer
  2. Delivery
    Server streams millions of tiny data fields or a split unfinished line
  3. Exploit
    Parser retains unbounded per-field/per-chunk state
  4. Execution
    Compressed body expands past maxResponseSize checks
  5. Impact
    Process memory exhausted, Node.js terminates

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation 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

The affected application must actively instantiate and maintain an undici EventSource client connected to an untrusted or compromised Server-Sent Events peer whose response the attacker controls; this is the core prerequisite and is NOT a default posture for most undici/Node.js deployments, which primarily use undici for outbound fetch/HTTP rather than EventSource. The attacker needs no authentication and no victim user interaction once the connection exists, but cannot initiate the connection themselves - they only control the SSE response body. Vulnerable version ranges are undici 6.5.0-6.29.0, 7.0.0-7.30.0, and 8.0.0-8.12.1; there is no workaround, so the limiting factor is version plus EventSource usage against untrusted endpoints. The memory-exhaustion impact is amplified when the malicious response is compressed, because maxResponseSize is enforced on the compressed body before decompression.

Impact

Signals are 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) scores 7.5 HIGH and describes a network-reachable, low-complexity, unauthenticated condition with pure availability impact (C:N/I:N/A:H), which matches the description: a malicious or compromised SSE peer exhausts Node.js process memory via unbounded parser state (CWE-770). However, exploitation is gated by a specific precondition not reflected in the raw CVSS: the victim application must deliberately open an undici EventSource connection to a peer the attacker controls, so 'PR:N/UI:N' understates the real deployment prerequisite. Corroborating lower-urgency signals: EPSS is 0.31% (22nd percentile), the CVE is NOT on CISA KEV, and CISA SSVC assesses Exploitation=none, Automatable=no, Technical Impact=partial. There is no indication of public exploit code. Net: a legitimate denial-of-service worth patching on a normal cadence, not an actively-exploited critical. Note SSVC 'Technical Impact: partial' versus CVSS 'A:H' is a minor framing difference (SSVC partial reflects DoS-only, non-total-control impact) rather than a true conflict.

Exploit ScenarioDerived

A Node.js application uses undici's EventSource client to subscribe to a third-party or user-supplied Server-Sent Events endpoint. The attacker, controlling that endpoint's response, streams millions of tiny completed data fields with no blank separator (or one unfinished line split across many chunks), optionally compressed so a small compressed body expands past memory limits; the undici parser retains unbounded per-field/per-chunk state until the process runs out of memory and crashes. No public exploit code is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 19, 2026

Memory exhaustion in undici's EventSource client (versions 6.5.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1) allows a malicious or compromised Server-Sent Events peer to terminate a Node.js process by streaming millions of tiny completed data fields with no blank event separator, or a single unfinished line split across many chunks, so that per-field and per-chunk parser state grows without being bounded by maxEventSize or maxResponseSize. Remote attackers need no authentication and no victim interaction once the connection exists, but cannot initiate it themselves - the affected application must already maintain an EventSource connection to an untrusted endpoint, and because maxResponseSize is checked against the compressed body before decompression, a small gzip payload can expand into enough retained memory to crash the process (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5). Impact is availability only; no public exploit code exists at time of analysis, EPSS is 0.31% (22nd percentile), and CISA SSVC records Exploitation: none with Automatable: no, indicating a genuine but bounded risk rather than a top-tier emergency.

Earlier versions of this analysis (1)
v1 Oct 15, 2026 - 18:50 CVSS 5.9

Memory exhaustion in undici's EventSource client can allow a malicious or compromised Server-Sent Events peer to terminate a Node.js process by exploiting unbounded parser state accumulation. Affected versions are undici 6.5.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1; an application must already have an EventSource connection open to the hostile peer, and the attacker controls only the response body, requiring no authentication and no user interaction. The impact is availability only (CVSS 5.9, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), no public exploit identified at time of analysis, and vendor-released patches are available in undici 6.29.1, 7.30.1, and 8.12.2.

RemediationAI

Vendor-released patch: upgrade undici to 6.29.1, 7.30.1, or 8.12.2 (or later), which bound retained parser state independently of maxEventSize and maxResponseSize; the advisory is at https://github.com/nodejs/undici/security/advisories/GHSA-4qv8-2p9j-2685 and the CNA index at https://cna.openjsf.org/security-advisories.html. Because undici ships inside Node.js, also move to a Node.js release that bundles a patched undici, or pin the dependency via an npm override/resolution if the bundled copy cannot be changed. The vendor states there is no workaround, so for systems that cannot upgrade immediately, compensating controls must be architectural: stop connecting EventSource to untrusted or attacker-influenceable endpoints or front such endpoints with a trusted proxy that re-emits validated, size- and line-bounded SSE streams (trade-off: added hop and full SSE semantics to re-implement); if EventSource is used only against a fixed set of known hosts, restrict egress so responses can come only from those hosts (trade-off: brittle as endpoints change, and it does not help when the peer itself is the compromise vector); reject or strip Content-Encoding on SSE responses at the proxy, since compression is what lets a small body inflate past maxResponseSize (trade-off: more bandwidth, and the uncompressed variant still crashes via the framing issue); and enforce a lower process memory ceiling such as --max-old-space-size so the worker is recycled and restarted rather than taking down the host (trade-off: crash-looping under sustained attack and loss of in-flight work). Monitoring heap growth on processes holding long-lived EventSource connections gives early warning, but does not remediate the issue.

Affected VersionsENISA

undici 7.0.0 <7.30.1
undici 6.5.0 <6.29.1
undici 8.0.0 <8.12.2

Affected Packages

npm undici fix: 6.29.1, 7.30.1, 8.12.2

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/1.1 client library bundled with Node.js and widely used standalone for outbound fetch and streaming workloads; this flaw sits in its EventSource implementation, the client side of the WHATWG Server-Sent Events protocol. SSE framing is line-oriented: fields such as 'data:' are terminated by newlines and buffered until a blank line dispatches the event, and the parser normally guards memory with the byte-based maxEventSize and maxResponseSize limits. CWE-770 (Allocation of Resources Without Limits or Throttling) is the root cause class here: the vulnerable versions retain unbounded per-field bookkeeping for very many tiny completed data fields that are never separated by a blank line, and unbounded per-chunk partial-line state when a single line arrives fragmented across a large number of chunks - state that is not accounted for by the byte caps. The condition is aggravated by content encoding, because maxResponseSize is enforced on the compressed body prior to decompression, letting a compact gzip stream inflate into a much larger retained buffer. The fix in 6.29.1, 7.30.1 and 8.12.2 bounds the retained parser state independently of those byte limits. The CPE cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:* is a wildcard and does not itself enumerate vulnerable versions, so version range pinning from the EUVD data (undici 6.5.0 <6.29.1, 7.0.0 <7.30.1, 8.0.0 <8.12.2) should be used for asset matching.

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

Vendor (openjs) PRIMARY MEDIUM
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Attacker-controlled SSE response reaches the client over the network with no auth or interaction once connected; impact is DoS only, so C:N/I:N/A:H with scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (openjs).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 19, 2026 - 21:02 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 20:53 NVD
MEDIUM HIGH
CVSS changed
Oct 19, 2026 - 20:53 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 15, 2026 - 19:18 EUVD
CVE Published
Oct 15, 2026 - 18:16 cve.org
MEDIUM 5.9

DescriptionNVD

undici is an HTTP client library for Node.js. In versions 6.5.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, its EventSource client can be driven to exhaust process memory by a malicious or compromised Server-Sent Events peer. By sending millions of tiny completed data fields with no blank event separator, or a single unfinished line split across many chunks, the parser retains a growing amount of per-field and per-chunk state that the byte-based maxEventSize and maxResponseSize limits do not bound, and because maxResponseSize is enforced on the compressed body before decompression, a small compressed response can expand into enough retained memory to terminate the process. An application only needs to maintain an EventSource connection to an untrusted peer, which controls only the response, and availability is the only impact. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which bound the retained parser state independently of the byte limits, and users should upgrade to one of those versions or later. There is no workaround.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on undici (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 6.5.0.

Technical POC Analysis

Class: CWE-770, Allocation of Resources Without Limits or Throttling — specifically unbounded parser-state accumulation in the undici EventSource (SSE) client.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Undici's EventSource client, used by Node.js services to consume server-sent events, can be driven into memory exhaustion by an untrusted event stream and crash the host process. The issue is remotely triggerable without credentials or user action once a service already holds an EventSource connection to an untrusted endpoint, so leadership should care about availability risk in consumer-facing, third-party-integrated, or mission-critical Node.js workloads. Impact is limited to service disruption, but affected teams should still prioritize remediation for internet-facing and business-critical SSE integrations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Ubiquitous
undici is the HTTP client bundled in Node.js core powering fetch
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Undici

View all
CVE-2022-35949 CRITICAL POC
9.8 Aug 12

undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge

CVE-2026-12151 HIGH POC
7.5 Jun 17

Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com

CVE-2026-14643 HIGH POC
7.5 Jul 29

Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from

CVE-2026-16729 MEDIUM POC
6.5 Jul 29

Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent

CVE-2022-31151 MEDIUM POC
6.5 Jul 21

Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo

CVE-2022-32210 MEDIUM POC
6.5 Jul 14

`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th

CVE-2026-15157 MEDIUM POC
5.4 Jul 29

CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic

CVE-2023-23936 MEDIUM POC
5.4 Feb 16

Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,

CVE-2022-35948 MEDIUM POC
5.3 Aug 15

undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection

CVE-2026-13697 CRITICAL
9.1 Jul 29

Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions

CVE-2026-109383 CRITICAL POC
9.1 Oct 15

Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0

CVE-2026-109829 CRITICAL POC
9.1 Oct 15

Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy