Vulnerability
CVE-2026-2229
ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for permessage-deflate compression. A malicious server can respond with an out-of-range server_max_window_bits value (outside zlib's valid range of 8-15). When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught, resulting in immediate process termination. The vulnerability exists because: * The isValidClientWindowBits() function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15 * The createInflateRaw() call is not wrapped in a try-catch block * The resulting exception propagates up through the call stack and crashes the Node.js process
91 advisories report this vulnerability, across 11 ecosystems.
Advisories in Chainguard
- CGA-26xc-x238-7hg5
- CGA-29qw-cqcr-92r4
- CGA-35c4-4mr2-xvvv
- CGA-38x9-m43v-j3g3
- CGA-3vvv-p294-c7h8
- CGA-43rp-vvg9-44xw
- CGA-4jqc-vwrm-rg7x
- CGA-52pj-863v-w3h6
- CGA-53wj-6h2x-57vj
- CGA-628f-8mqm-6gc4
- CGA-6685-m228-rgff
- CGA-6mw8-32hj-mjrh
- CGA-6vh8-jq8m-c5p9
- CGA-747f-hpj7-wvcp
- CGA-79vv-xx8c-cr3g
- CGA-7c7p-2jh2-fhgj
- CGA-7h5f-m9vg-h7fg
- CGA-7hvm-6mgx-5x7v
- CGA-7jm6-mwpp-5w6j
- CGA-7m48-5r2x-mvj9
- CGA-83f3-wjrh-53mc
- CGA-8cp5-hr74-3g3m
- CGA-8gc2-f7fx-c29j
- CGA-8jrv-rr57-xwg8
- CGA-8q55-3p63-h7mh
- CGA-9crh-27gf-7rjr
- CGA-9m5f-hmrg-cpq2
- CGA-9r2h-668x-gjgm
- CGA-9r96-734g-wc92
- CGA-9xc5-w9hv-49fq
- CGA-c8mj-rwqh-xwv4
- CGA-cgqg-9mgr-hg4m
- CGA-ch47-xmx6-3hq7
- CGA-f2rf-232q-fgr3
- CGA-fq6h-c7xr-2fc6
- CGA-gccc-9348-w245
- CGA-gv38-vpf5-5897
- CGA-h86g-66qg-cr2h
- CGA-hcqr-hc8c-q87r
- CGA-j38r-57cx-45vq
- CGA-m69v-r2x2-363j
- CGA-mjp4-x2fg-8rgh
- CGA-mxj4-63hj-2h82
- CGA-p478-vwh2-x92j
- CGA-p49p-v5wh-5qwj
- CGA-q76v-p397-xrrw
- CGA-qc97-8983-x5f4
- CGA-qmwp-vf4w-2ffj
- CGA-qqwj-6fw8-6ch2
- CGA-rqr6-2jwr-5r6h
- CGA-rvj6-w26x-prr4
- CGA-v3jf-crfj-jfh7
- CGA-vm2q-6cf8-2wfp
- CGA-vvg5-q5hj-7xcf
- CGA-wp7c-8c79-crmf
- CGA-wrj3-xx8m-8fx5
- CGA-wv77-7rq6-hg2p
- CGA-wvw9-8237-j33h
References
- https://cna.openjsf.org/security-advisories.html
- https://datatracker.ietf.org/doc/html/rfc7692
- https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8
- https://hackerone.com/reports/3487486
- https://nodejs.org/api/zlib.html#class-zlibinflateraw
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:17789
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:21931
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:56431
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:7080
- https://access.redhat.com/errata/RHSA-2026:7123
- https://access.redhat.com/errata/RHSA-2026:7302
- https://access.redhat.com/errata/RHSA-2026:7310
- https://access.redhat.com/errata/RHSA-2026:7350
- https://access.redhat.com/errata/RHSA-2026:7670
- https://access.redhat.com/errata/RHSA-2026:7675
- https://access.redhat.com/errata/RHSA-2026:7983
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2026-2229
- https://bugzilla.redhat.com/show_bug.cgi?id=2447143
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2229.json