Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-109932 EUVD-2026-102321GHSA-9fm3-97px-rjf6

undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering

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

Description

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.

Affected products

VendorProductAffectedFixed
undici undici 5.15.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 1:26.12.1-0.1.hum1 RHSA-2026:87703
Red Hat Hardened Images 1 nodejs26-npm 1:11.20.0-1.26.12.1.0.1.hum1 RHSA-2026:87703
Red Hat Hardened Images 1 v8-13.6-devel 13.6.233.17-1.24.21.0.1.5.hum1 RHSA-2026:84706

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 node-gyp 13.1.0-r1 —
Wolfi rolling renovate 44.198.3-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm undici >= 5.15.0, < 6.29.1 6.29.1 GHSA-9fm3-97px-rjf6
npm undici >= 7.0.0, < 7.30.1 7.30.1 GHSA-9fm3-97px-rjf6
npm undici >= 8.0.0, < 8.12.2 8.12.2 GHSA-9fm3-97px-rjf6

Advisories 4

References