Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-109924 EUVD-2026-102249GHSA-4qv8-2p9j-2685

undici vulnerable to Denial of Service via unbounded memory in the EventSource parser

Published Oct 15, 2026 · Updated Oct 16, 2026 · Assigned by openjs

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.

Affected products

VendorProductAffectedFixed
undici undici 6.5.0 – < 6.29.1, 7.0.0 – < 7.30.1, 8.0.0 – < 8.12.2 6.29.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-undici 8.12.2+dfsg+~cs3.2.3-1 —
Debian 13 node-undici No fix yet —
Debian 12 node-undici No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-undici No fix yet —
Ubuntu 26.04 LTS node-undici No fix yet —
Ubuntu 24.04 LTS node-undici No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs24 +6 24.21.0-1.5.hum1 RHSA-2026:84706
Red Hat Hardened Images 1 nodejs24-npm 11.19.0-1.24.21.0.1.5.hum1 RHSA-2026:84706
Red Hat Hardened Images 1 nodejs26 +6 26.11.1-0.4.hum1 RHSA-2026:87703, RHSA-2026:84657
Red Hat Hardened Images 1 nodejs26-npm 11.20.0-1.26.11.1.0.4.hum1 RHSA-2026:87703, RHSA-2026:84657
Red Hat Hardened Images 1 v8-13.6-devel 13.6.233.17-1.24.21.0.1.5.hum1 RHSA-2026:84706
Red Hat Hardened Images 1 v8-14.6-devel 14.6.202.34-1.26.11.1.0.4.hum1 RHSA-2026:84657

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs22 +4 1:22.23.4-1.amzn2023.0.1 ALAS2023-2026-3328
Amazon Linux 2023 nodejs22-npm 1:10.9.9-1.22.23.4.1.amzn2023.0.1 ALAS2023-2026-3328
Amazon Linux 2023 nodejs24 +4 1:24.22.1-1.amzn2023.0.1 ALAS2023-2026-3330
Amazon Linux 2023 nodejs24-npm 1:11.19.1-1.24.22.1.1.amzn2023.0.1 ALAS2023-2026-3330
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.23.4.1.amzn2023.0.1 ALAS2023-2026-3328
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 ALAS2023-2026-3330

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling lerna 10.1.1-r3 —
Wolfi rolling node-gyp 13.1.0-r1 —
Wolfi rolling prism 5.16.0-r19 —
Wolfi rolling renovate 44.198.3-r1 —
Wolfi rolling vitess-24 24.0.5-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm undici >= 6.5.0, < 6.29.1 6.29.1 GHSA-4qv8-2p9j-2685
npm undici >= 7.0.0, < 7.30.1 7.30.1 GHSA-4qv8-2p9j-2685
npm undici >= 8.0.0, < 8.12.2 8.12.2 GHSA-4qv8-2p9j-2685

Advisories 5

References