CVE-2026-109924
undici: undici: Denial of Service via memory exhaustion in EventSource client
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-770
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=6.5.0, <6.29.1>=7.0.0, <7.30.1>=8.0.0, <8.12.2 | 6.29.17.30.18.12.2 |
| Seal npm | @seal-security/undici | >=6.21.1-sp1, <6.21.1-sp999>=6.21.2-sp1p1, <6.21.2-sp999>=6.21.3-sp1p1, <6.21.3-sp999>=6.23.0-sp1, <6.23.0-sp2>=6.25.0-sp1p1, <6.25.0-sp999+7 more | 6.21.1-sp9996.21.2-sp9996.21.3-sp9996.23.0-sp26.25.0-sp999 |
| Seal npm | undici | >=6.21.1-sp0, <6.21.1-sp999>=6.21.2-sp0, <6.21.2-sp999>=6.21.3-sp0, <6.21.3-sp999>=6.23.0-sp0, <6.23.0-sp2>=6.25.0-sp0, <6.25.0-sp999+7 more | 6.21.1-sp9996.21.2-sp9996.21.3-sp9996.23.0-sp26.25.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 36 fixes
Red Hat 8 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 8 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 8 (nodejs:22) | nodejs +10 | affected |
| 8 (nodejs:24) | nodejs +10 | affected |
| 9 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 9 (nodejs:22) | nodejs +4 | affected |
2 more rows
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs22-npm | 1:10.9.9-1.22.23.4.1.amzn2023.0.1 |
| 2023 | nodejs24-npm | 1:11.19.1-1.24.22.1.1.amzn2023.0.1 |
| 2023 | nodejs22 +7 | 1:22.23.4-1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.22.1-1.amzn2023.0.1 |
| 2023 | v8-12-4-devel | 3:12.4.254.21-1.22.23.4.1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 |
chainguard 1 release · 13 packages
| Release | Package | Fixed in |
|---|---|---|
| supabase-storage-api | 1.84.23-r1 | |
| lerna | 10.1.1-r3 | |
| node-gyp | 13.1.0-r1 | |
| homepage | 2.6.0-r4 | |
| vitess-24 | 24.0.5-r5 | |
| graalvm-25-2 | 25.2.4-r6 |
7 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.12.2+dfsg+~cs3.2.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.1.1-r3 | |
| node-gyp | 13.1.0-r1 | |
| vitess-24 | 24.0.5-r5 | |
| renovate | 44.198.3-r1 | |
| prism | 5.16.0-r19 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-109924
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/299162740d5f39120092277e70efacb4d151c1c6
- github.com https://github.com/nodejs/undici/commit/789ef26461c
- github.com https://github.com/nodejs/undici/commit/789ef26461c648480433846607154f52d74ec9ab
- github.com https://github.com/nodejs/undici/commit/c43b23fdc6b37e1283d4347408bb16800f867d9e
- github.com https://github.com/nodejs/undici/releases/tag/v6.29.1
- github.com https://github.com/nodejs/undici/releases/tag/v7.30.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.12.2
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.