CVE-2026-2229
undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
Overview
Description
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
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-248, CWE-1284
Affected packages · 3
Operating systems · 124 fixes
Oracle Linux 2 releases · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:11.11.0-1.24.14.1.2.module+el8.10.0+90873+35652ecc |
| 8 | nodejs +4 | 1:24.14.1-2.module+el8.10.0+90873+35652ecc |
| 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+90873+35652ecc |
| 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+90873+35652ecc |
| 8 | v8-12-4-devel | 3:12.4.254.21-1.22.22.2.1.module+el8.10.0+90865+d647ef3a |
| 8 | v8-13-6-devel | 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+90873+35652ecc |
6 more rows
Red Hat 4 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nodejs:22) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| 8 (nodejs:22) | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| 8 (nodejs:22) | npm | 1:10.9.7-1.22.22.2.1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| 8 (nodejs:22) | nodejs +4 | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| 8 (nodejs:22) | v8-12-4-devel | 3:12.4.254.21-1.22.22.2.1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| 8 (nodejs:24) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:7670 |
19 more rows
alma 4 releases · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-npm | 1:11.11.0-1.24.14.1.2.el10_1 |
| 10 | nodejs-docs | 1:22.22.2-1.el10_1 |
| 10 | nodejs24-docs | 1:24.14.1-2.el10_1 |
| 8 (nodejs:22) | npm | 1:10.9.7-1.22.22.2.1.module_el8.10.0+4158+e796f37f |
| 8 (nodejs:22) | nodejs +4 | 1:22.22.2-1.module_el8.10.0+4158+e796f37f |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4158+e796f37f |
13 more rows
amazon linux 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs20-npm | 1:10.8.2-1.20.20.1.1.amzn2023.0.3 |
| 2023 | nodejs22-npm | 1:10.9.4-1.22.22.1.1.amzn2023.0.2 |
| 2023 | nodejs24-npm | 1:11.9.0-1.24.14.0.1.amzn2023.0.2 |
| 2023 | nodejs20 +7 | 1:20.20.1-1.amzn2023.0.3 |
| 2023 | nodejs22 +7 | 1:22.22.1-1.amzn2023.0.2 |
| 2023 | nodejs24 +7 | 1:24.14.0-1.amzn2023.0.2 |
3 more rows
chainguard 1 release · 13 packages
| Release | Package | Fixed in |
|---|---|---|
| gemini-cli | 0.49.0-r4 | |
| librechat | 0.8.4-r3 | |
| jitsucom-jitsu | 2.11.0-r17 | |
| langfuse-3 +1 | 3.179.1-r1 | |
| code-server | 4.110.1-r2 | |
| renovate | 43.84.0-r1 |
7 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 7.24.5+dfsg+~cs3.2.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
minimos 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openclaw | 2026.3.13.1-r0 | |
| kibana-8-19 | 8.19.15-r0 | |
| kibana-9-3 | 9.3.5-r0 |
rocky 5 releases · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs-npm | 1:10.9.7-1.22.22.2.1.el10_1 |
| 10 | nodejs24-npm | 1:11.11.0-1.24.14.1.2.el10_1 |
| 10 | nodejs +4 | 1:22.22.2-1.el10_1 |
| 10 | nodejs24 +4 | 1:24.14.1-2.el10_1 |
| 8 (nodejs:20) | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+40048+6d99f608 |
| 8 (nodejs:20) | nodejs-nodemon | 3.0.1-1.module+el8.10.0+1666+930e28e8 |
28 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| jitsucom-jitsu | 2.11.0-r17 | |
| langfuse-3 | 3.179.1-r1 | |
| code-server | 4.110.1-r2 | |
| renovate | 43.84.0-r1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13826
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:17789
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21772
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21931
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34342
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:56431
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:5807
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7080
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7123
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7302
Show all 83 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7310
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7350
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7670
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7675
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7983
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:9742
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-2229
- bugzilla.redhat.com https://bugzilla.redhat.com/2431340
- bugzilla.redhat.com https://bugzilla.redhat.com/2436942
- bugzilla.redhat.com https://bugzilla.redhat.com/2441268
- bugzilla.redhat.com https://bugzilla.redhat.com/2447140
- bugzilla.redhat.com https://bugzilla.redhat.com/2447141
- bugzilla.redhat.com https://bugzilla.redhat.com/2447142
- bugzilla.redhat.com https://bugzilla.redhat.com/2447143
- bugzilla.redhat.com https://bugzilla.redhat.com/2447144
- bugzilla.redhat.com https://bugzilla.redhat.com/2447145
- bugzilla.redhat.com https://bugzilla.redhat.com/2448754
- bugzilla.redhat.com https://bugzilla.redhat.com/2453037
- bugzilla.redhat.com https://bugzilla.redhat.com/2453151
- bugzilla.redhat.com https://bugzilla.redhat.com/2453152
- bugzilla.redhat.com https://bugzilla.redhat.com/2453157
- bugzilla.redhat.com https://bugzilla.redhat.com/2453158
- bugzilla.redhat.com https://bugzilla.redhat.com/2453160
- bugzilla.redhat.com https://bugzilla.redhat.com/2453161
- bugzilla.redhat.com https://bugzilla.redhat.com/2453162
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2431340
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2441268
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447140
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447141
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447142
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447143
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447144
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447145
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2448754
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453037
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453151
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453152
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453157
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453158
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453160
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453161
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453162
- 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-1525
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1526
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1527
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1528
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21637
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21710
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21711
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21712
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21713
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21714
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21715
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21716
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21717
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2229
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2581
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-26996
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-27135
- datatracker.ietf.org https://datatracker.ietf.org/doc/html/rfc7692
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-7350.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:7670
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8
- hackerone.com https://hackerone.com/reports/3487486
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-2229.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-7675.html
- nodejs.org https://nodejs.org/api/zlib.html#class-zlibinflateraw
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-2229
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2229.json
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-2229
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.