CVE-2026-12151
undici: undici: Denial of Service due to unbounded memory growth via WebSocket frames
Overview
Description
Impact:
The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service.
Affected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.
All releases starting at undici 6.17.0 are affected.
Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds:
No workaround is available. The fix must be applied through an upgrade.
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-400, CWE-770
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | <6.27.0>=7.0.0, <7.28.0>=8.0.0, <8.5.0 | 6.27.07.28.08.5.0 |
| Seal npm | @seal-security/undici | >=4.16.0-sp1, <4.16.0-sp999>=6.21.1-sp1, <6.21.1-sp999>=6.23.0-sp1, <6.23.0-sp2>=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp2p2+1 more | 4.16.0-sp9996.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p2 |
| Seal npm | undici | >=4.16.0-sp0, <4.16.0-sp999>=6.21.1-sp0, <6.21.1-sp999>=6.23.0-sp0, <6.23.0-sp2>=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp2p2+1 more | 4.16.0-sp9996.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p2 |
Open a package to see all its vulnerabilities.
Operating systems · 168 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:24.17.0-2.azl3 |
Oracle Linux 2 releases · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:11.16.0-1.24.18.0.1.module+el8.10.0+90961+a86f8457 |
| 8 | nodejs +4 | 1:24.18.0-1.module+el8.10.0+90961+a86f8457 |
| 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+90961+a86f8457 |
| 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+90961+a86f8457 |
| 8 | v8-12-4-devel | 3:12.4.254.21-1.22.23.1.1.module+el8.10.0+90968+e271b286 |
| 8 | v8-13-6-devel | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+90961+a86f8457 |
6 more rows
Red Hat 7 releases · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 | affected | — |
| 8 | openshift4-ose-monitoring-plugin-rhel9 | affected | — |
| 8 (nodejs:22) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24500+8eb51621 | RHSA-2026:41947 |
| 8 (nodejs:22) | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+24500+8eb51621 | RHSA-2026:41947 |
| 8 (nodejs:22) | npm | 1:10.9.8-1.22.23.1.1.module+el8.10.0+24500+8eb51621 | RHSA-2026:41947 |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.1-1.module+el8.10.0+24500+8eb51621 | RHSA-2026:41947 |
22 more rows
SUSE Linux Enterprise 6 releases · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | nodejs18 +3 | 18.20.8-8.44.1 | SUSE-SU-2026:4248-1 |
| 15.4 | nodejs16 +3 | 16.20.2-150400.3.42.1 | SUSE-SU-2026:4355-1 |
| 15.4 | nodejs18 +3 | 18.20.8-150400.9.39.1 | SUSE-SU-2026:4261-1 |
| 15.5 | nodejs18 +3 | 18.20.8-150400.9.39.1 | SUSE-SU-2026:4261-1 |
| 15.5 | nodejs20 +3 | 20.20.2-150500.11.30.1 | SUSE-SU-2026:3930-1 |
| 15.6 | nodejs20 +3 | 20.20.2-150600.3.21.1 | SUSE-SU-2026:3929-1 |
5 more rows
alma 5 releases · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.el10_2 |
| 10 | nodejs-docs | 1:22.23.1-2.el10_2 |
| 10 | nodejs24-docs | 1:24.18.0-1.el10_2 |
| 8 (nodejs:22) | npm | 1:10.9.8-1.22.23.1.1.module_el8.10.0+4231+1bf2f855 |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.1-1.module_el8.10.0+4231+1bf2f855 |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4158+e796f37f |
17 more rows
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs22-npm | 1:10.9.8-1.22.23.1.1.amzn2023.0.1 |
| 2023 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.amzn2023.0.1 |
| 2023 | nodejs22 +7 | 1:22.23.1-1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.18.0-1.amzn2023.0.1 |
| 2023 | v8-12-4-devel | 3:12.4.254.21-1.22.23.1.1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.18.0.1.amzn2023.0.1 |
chainguard 1 release · 21 packages
| Release | Package | Fixed in |
|---|---|---|
| gemini-cli | 0.49.0-r4 | |
| py3-captum | 0.9.0-r1 | |
| saf | 1.6.0-r2 | |
| npm | 11.17.0-r1 | |
| node-gyp | 13.0.0-r1 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 |
15 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.5.0+dfsg+~cs3.2.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
minimos 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| npm | 11.18.0-r0 | |
| node-gyp | 13.0.1-r0 | |
| nginx-proxy-manager-2 | 2.15.1-r1 | |
| n8n | 2.31.5-r0 | |
| openclaw | 2026.6.9-r0 | |
| langfuse-3 | 3.194.0-r0 |
4 more rows
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack24 +4 | 24.17.0-1.1 | openSUSE-SU-2026:11121-1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | corepack22 +4 | 22.23.0-160000.1.1 | openSUSE-SU-2026:21058-1 |
| 16.0 | corepack24 +4 | 24.18.0-160000.1.1 | openSUSE-SU-2026:21236-1 |
rocky 4 releases · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs-npm | 1:10.9.8-1.22.23.1.2.el10_2 |
| 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.el10_2 |
| 10 | nodejs +4 | 1:22.23.1-2.el10_2 |
| 10 | nodejs24 +4 | 1:24.18.0-1.el10_2 |
| 8 (nodejs:22) | npm | 1:10.9.8-1.22.23.1.1.module+el8.10.0+40256+2fd2ac14 |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.1-1.module+el8.10.0+40256+2fd2ac14 |
35 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
wolfi 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| saf | 1.6.0-r2 | |
| npm | 11.17.0-r1 | |
| node-gyp | 13.0.0-r1 | |
| vitess-24 | 24.0.3-r7 | |
| code-server | 4.125.0-r2 | |
| renovate | 43.249.5-r2 |
1 more row
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34342
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:35841
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:35842
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:35891
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:35892
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36621
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36754
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36820
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:38009
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:38236
Show all 81 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:39246
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:39868
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:41929
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:41947
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:47728
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:48124
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:48151
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:52399
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:56366
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:56431
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:57013
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:60520
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:62260
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:65126
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:66488
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:66545
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-12151
- bugzilla.redhat.com https://bugzilla.redhat.com/2476810
- bugzilla.redhat.com https://bugzilla.redhat.com/2489980
- bugzilla.redhat.com https://bugzilla.redhat.com/2490000
- bugzilla.redhat.com https://bugzilla.redhat.com/2490006
- bugzilla.redhat.com https://bugzilla.redhat.com/2490008
- bugzilla.redhat.com https://bugzilla.redhat.com/2493325
- bugzilla.redhat.com https://bugzilla.redhat.com/2493326
- bugzilla.redhat.com https://bugzilla.redhat.com/2493329
- bugzilla.redhat.com https://bugzilla.redhat.com/2493331
- bugzilla.redhat.com https://bugzilla.redhat.com/2493332
- bugzilla.redhat.com https://bugzilla.redhat.com/2493333
- bugzilla.redhat.com https://bugzilla.redhat.com/2493335
- bugzilla.redhat.com https://bugzilla.redhat.com/2493337
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476810
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2489980
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490000
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490006
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490008
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493325
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493326
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493329
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493331
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493332
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493333
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493335
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493337
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11525
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-12151
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42338
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48615
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48618
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48619
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48928
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48930
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48933
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48934
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48935
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-6733
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9678
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-35892.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:41947
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/32dbf0b3dd93daf6d87badf506d52e89f2e20e78
- github.com https://github.com/nodejs/undici/releases/tag/v6.27.0
- github.com https://github.com/nodejs/undici/releases/tag/v7.28.0
- github.com https://github.com/nodejs/undici/releases/tag/v8.5.0
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-12151.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-41947.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-12151
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12151.json
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-12151
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.