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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | node-gyp | 13.1.0-r1 | — |
| Wolfi rolling | renovate | 44.198.3-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- RHSA-2026:87703 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- ALAS2023-2026-3330 Important: nodejs24 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 26, 2026
- ALAS2023-2026-3328 Important: nodejs22 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 26, 2026
- RHSA-2026:84706 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026