Vulnerability
CVE-2026-12151
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.
123 advisories report this vulnerability, across 14 ecosystems.
Advisories
-
ALAS2023-2026-1920
Amazon Linux 2023 - ALAS2023-2026-1920: Important priority package update for nodejs24
-
ALAS2023-2026-1921
Amazon Linux 2023 - ALAS2023-2026-1921: Important priority package update for nodejs22
-
ALSA-2026:35841
Important: nodejs24 security, bug fix, and enhancement update
-
ALSA-2026:35842
Important: nodejs22 security, bug fix, and enhancement update
-
ALSA-2026:35891
Important: nodejs:24 security, bug fix, and enhancement update
-
ALSA-2026:35892
Important: nodejs:22 security, bug fix, and enhancement update
-
ALSA-2026:39868
Important: nodejs:24 security, bug fix, and enhancement update
-
ALSA-2026:41947
Important: nodejs:22 security, bug fix, and enhancement update
-
AZL-91191
CVE-2026-12151 affecting package nodejs for versions less than 24.18.1-1
- CGA-27g6-j8q4-2vw7
- CGA-2fjv-j3vc-v42v
- CGA-2qv9-2fjm-48p8
- CGA-2xjh-pvqm-q6fq
- CGA-32wv-xpjw-59rw
- CGA-3g69-jhrm-c9mq
- CGA-3qxm-hxm7-ph8j
- CGA-4c2f-fgvm-mpm6
- CGA-4g73-383v-j849
- CGA-4grj-pfjq-9r2w
- CGA-4h2f-p7c3-h2pr
- CGA-4m7c-p45c-669r
- CGA-4q28-fw5q-8wrr
- CGA-5653-2fp7-cprr
- CGA-58mh-q9q6-36c8
- CGA-5m87-f6gg-3v3h
- CGA-5qq3-xqv9-p39w
- CGA-62cv-j5vm-hhf6
- CGA-6562-rwq2-qrj8
- CGA-6pp5-3hgf-pf39
- CGA-6x78-rqxv-pmm3
- CGA-759j-8v7x-6w8v
- CGA-7657-wq2r-9qf4
- CGA-7g5h-v9m4-q2r2
- CGA-7g69-6r9j-pfqh
- CGA-7hc7-mcv4-6h58
- CGA-7jhf-8x24-h6qw
- CGA-85hr-2ff4-5f56
- CGA-8c3h-34w9-8hj2
- CGA-8c66-44cc-xf7h
- CGA-8mpj-qfq6-j66p
- CGA-9j5m-pg63-wp3c
- CGA-9q35-f35g-5rx2
- CGA-9xj2-2gqh-f78j
- CGA-c3h9-mf5w-9cjw
- CGA-cch6-3688-q4c7
- CGA-f7c9-xvgc-7x26
- CGA-f8jf-9g98-2fxw
- CGA-fxc2-chgg-5w4g
- CGA-g55f-qf52-gx7c
- CGA-gjgr-f7gw-29rh
- CGA-hc99-v4v6-qvf7
- CGA-hmh3-3r66-f3jp
- CGA-hqf5-c2m9-gvfh
- CGA-hqxw-v822-96r5
- CGA-j7wm-499f-j6fj
- CGA-j9vr-898m-q9fg
- CGA-jjxh-qgjj-ggjq
- CGA-jx7w-46hv-33cr
- CGA-m98c-2392-xfxq
- CGA-mc58-7hg6-vjw5
- CGA-mm9f-44ph-hvw8
- CGA-mvxj-5w4g-rgxr
- CGA-mw7p-pfw7-29h4
- CGA-p526-7436-9xxm
- CGA-p78q-jcf2-p68r
- CGA-pvhr-p69m-xcjx
- CGA-q2xg-wvqf-7m8c
- CGA-q3qc-5m53-2vxj
- CGA-q5j6-55f2-fxm9
- CGA-r5gh-mwmp-x46v
- CGA-r8m3-vggv-7226
- CGA-r9m6-fg56-3pgh
- CGA-rxf3-c896-v7jx
- CGA-v478-rqq6-vxmw
- CGA-v9h6-g245-94f2
- CGA-vffw-cwr3-5xr3
- CGA-vh7x-qcq6-j5fh
- CGA-vhfw-w45g-6q2g
- CGA-vr94-p9hv-5c3r
- CGA-vw8f-3f2x-p776
- CGA-w762-wmqj-6j26
- CGA-wc3q-c3x4-428m
- CGA-x4c4-q7h4-pv9f
- CGA-xc3v-mx5f-69m9
-
DEBIAN-CVE-2026-12151
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…
-
ELSA-2026-35841
ELSA-2026-35841: nodejs24 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-35842
ELSA-2026-35842: nodejs22 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-35891
ELSA-2026-35891: nodejs:24 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-35892
ELSA-2026-35892: nodejs:22 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-39868
ELSA-2026-39868: nodejs:24 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-41947
ELSA-2026-41947: nodejs:22 security, bug fix, and enhancement update (IMPORTANT)
-
FEDORA-2026-ce5dac2ed8
nodejs24-24.18.0-1.fc44
-
GHSA-vxpw-j846-p89q
undici WebSocket client vulnerable to denial of service via fragment count bypass
-
RHSA-2026:35841
Red Hat Security Advisory: nodejs24 security, bug fix, and enhancement update
-
RHSA-2026:35842
Red Hat Security Advisory: nodejs22 security, bug fix, and enhancement update
-
RHSA-2026:35891
Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update
-
RHSA-2026:35892
Red Hat Security Advisory: nodejs:22 security, bug fix, and enhancement update
-
RHSA-2026:38009
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:38236
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:39246
Red Hat Security Advisory: nodejs22 security update
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-12151.
References
- https://cna.openjsf.org/security-advisories.html
- https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:35841
- https://access.redhat.com/errata/RHSA-2026:35842
- https://access.redhat.com/errata/RHSA-2026:35891
- https://access.redhat.com/errata/RHSA-2026:35892
- https://access.redhat.com/errata/RHSA-2026:36621
- https://access.redhat.com/errata/RHSA-2026:36754
- https://access.redhat.com/errata/RHSA-2026:36820
- https://access.redhat.com/errata/RHSA-2026:38009
- https://access.redhat.com/errata/RHSA-2026:38236
- https://access.redhat.com/errata/RHSA-2026:39246
- https://access.redhat.com/errata/RHSA-2026:39868
- https://access.redhat.com/errata/RHSA-2026:41929
- https://access.redhat.com/errata/RHSA-2026:41947
- https://access.redhat.com/errata/RHSA-2026:47728
- https://access.redhat.com/errata/RHSA-2026:48124
- https://access.redhat.com/errata/RHSA-2026:48151
- https://access.redhat.com/errata/RHSA-2026:52399
- https://access.redhat.com/errata/RHSA-2026:56366
- https://access.redhat.com/errata/RHSA-2026:56431
- https://access.redhat.com/errata/RHSA-2026:57013
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/errata/RHSA-2026:62260
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:66488
- https://access.redhat.com/errata/RHSA-2026:66545
- https://access.redhat.com/security/cve/CVE-2026-12151
- https://bugzilla.redhat.com/show_bug.cgi?id=2489980
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12151.json