CVEfocus › CVE database › CVE-2026-2229

CVE-2026-2229undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid…

CVSS 7.5 HighEPSS 1.8% (higher than 80% of CVEs)Published 2026-03-12Updated 2026-09-14Assigner: openjs

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

CWE-1284CWE-248

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

67Fixed
3Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-undiciFix pendingUBUNTU-CVE-2026-2229
Ubuntu 26.04node-undiciUnder investigationUBUNTU-CVE-2026-2229
Ubuntu 25.10node-undiciWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-2229
Ubuntu 24.04node-undiciUnder investigationUBUNTU-CVE-2026-2229
Debian 14node-undiciFixed7.24.5+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-2229
Debian 13node-undiciFix pendingDEBIAN-CVE-2026-2229
Debian 12node-undiciFix pendingDEBIAN-CVE-2026-2229
Red Hat Enterprise Linux 10nodejsFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-develFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-docsFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-full-i18nFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-libsFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-npmFixed1:10.9.7-1.22.22.2.1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs22Fixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs24Fixed1:24.14.1-2.el10_1RHSA-2026:7675
Red Hat Enterprise Linux 10nodejs24-develFixed1:24.14.1-2.el10_1RHSA-2026:7675
Red Hat Enterprise Linux 10nodejs24-docsFixed1:24.14.1-2.el10_1RHSA-2026:7675
Red Hat Enterprise Linux 10nodejs24-full-i18nFixed1:24.14.1-2.el10_1RHSA-2026:7675
Red Hat Enterprise Linux 10nodejs24-libsFixed1:24.14.1-2.el10_1RHSA-2026:7675
Red Hat Enterprise Linux 10nodejs24-npmFixed1:11.11.0-1.24.14.1.2.el10_1RHSA-2026:7675
Red Hat Enterprise Linux 9nodejsFixed1:24.14.1-2.module+el9.7.0+24166+51c9666bRHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-develFixed1:24.14.1-2.module+el9.7.0+24166+51c9666bRHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-docsFixed1:22.22.2-1.module+el9.7.0+24157+8ddb2461RHSA-2026:7350
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:24.14.1-2.module+el9.7.0+24166+51c9666bRHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-libsFixed1:22.22.2-1.module+el9.7.0+24157+8ddb2461RHSA-2026:7350
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.0.3-3.module+el9.7.0+24166+51c9666bRHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+24166+51c9666bRHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-6.module+el9.7.0+24166+51c9666bRHSA-2026:7302
Red Hat Enterprise Linux 9npmFixed1:10.9.7-1.22.22.2.1.module+el9.7.0+24157+8ddb2461RHSA-2026:7350
Red Hat Enterprise Linux 9v8-12.4-develFixed3:12.4.254.21-1.22.22.2.1.module+el9.7.0+24157+8ddb2461RHSA-2026:7302
Red Hat Enterprise Linux 9v8-13.6-develFixed3:13.6.233.17-1.24.14.1.2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hat Enterprise Linux 8nodejsFixed1:22.22.2-1.module+el8.10.0+24148+847b6786RHSA-2026:7670
Red Hat Enterprise Linux 8nodejs-develFixed1:24.14.1-2.module+el8.10.0+24190+49a46c75RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-docsFixed1:22.22.2-1.module+el8.10.0+24148+847b6786RHSA-2026:7670
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:24.14.1-2.module+el8.10.0+24190+49a46c75RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-libsFixed1:24.14.1-2.module+el8.10.0+24190+49a46c75RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+24148+847b6786RHSA-2026:7670
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-6.module+el8.10.0+24148+847b6786RHSA-2026:7670
Red Hat Enterprise Linux 8npmFixed1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75RHSA-2026:7123
Red Hat Enterprise Linux 8v8-12.4-develFixed3:12.4.254.21-1.22.22.2.1.module+el8.10.0+24148+847b6786RHSA-2026:7123
Red Hat Enterprise Linux 8v8-13.6-develFixed3:13.6.233.17-1.24.14.1.2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
AlmaLinux 10nodejs-docsFixed1:22.22.2-1.el10_1ALSA-2026:7080
AlmaLinux 10nodejs24-docsFixed1:24.14.1-2.el10_1ALSA-2026:7675
AlmaLinux 10nodejs24-npmFixed1:11.11.0-1.24.14.1.2.el10_1ALSA-2026:7675
AlmaLinux 9nodejsFixed1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 9nodejs-develFixed1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 9nodejs-docsFixed1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 9nodejs-full-i18nFixed1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 9nodejs-libsFixed1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 9nodejs-nodemonFixed3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux 9nodejs-packagingFixed2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-6.module_el9.7.0+198+8bf605baALSA-2026:7350
AlmaLinux 9npmFixed1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 9v8-13.6-develFixed3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux 8nodejsFixed1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7670
AlmaLinux 8nodejs-develFixed1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7670
AlmaLinux 8nodejs-docsFixed1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7670
AlmaLinux 8nodejs-full-i18nFixed1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7670
AlmaLinux 8nodejs-libsFixed1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7123
AlmaLinux 8nodejs-nodemonFixed3.0.1-1.module_el8.10.0+4006+3c416519ALSA-2026:7670
AlmaLinux 8nodejs-packagingFixed2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:7123
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:7670
AlmaLinux 8npmFixed1:10.9.7-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7670
AlmaLinux 8v8-12.4-develFixed3:12.4.254.21-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux 8v8-13.6-develFixed3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
Rocky Linux 10nodejs22Fixed1:22.22.2-1.el10_1RLSA-2026:7080
Rocky Linux 10nodejs24Fixed1:24.14.1-2.el10_1RLSA-2026:7675
Rocky Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2026:7302
Rocky Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7302
Rocky Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:7123
Rocky Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:7123
npm libraryundiciFixed7.24.0GHSA-v9p9-hfj2-hcw8

What the vendor says

As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.