CVE-2026-2229
published 2026-03-12CVE-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…
PriorityP346high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.87%
54.7th percentile
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
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-undici | < node-undici 7.24.5+dfsg+~cs3.2.0-1 (forky) | node-undici 7.24.5+dfsg+~cs3.2.0-1 (forky) |
| nodejs | undici | < 6.24.0 | 6.24.0 |
| nodejs | undici | >= 7.0.0 < 7.24.0 | 7.24.0 |
| undici | undici | < 6.24.0; 7.0.0 < 7.24.0 | 6.24.0; 7.0.0 < 7.24.0 |
| undici | undici | >= 0 < 6.24.0 | 6.24.0 |
| undici | undici | >= 7.0.0 < 7.24.0 | 7.24.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
vendor_redhat·2026-03-12·CVSS 7.5
CVE-2026-2229 [HIGH] CWE-248 undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
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 becaus
Debian
CVE-2026-2229: node-undici - ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack du...
vendor_debian·2026·CVSS 7.5
CVE-2026-2229 [HIGH] CVE-2026-2229: node-undici - ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack du...
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,
GHSA
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
ghsa·2026-03-13
CVE-2026-2229 [HIGH] CWE-248 Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
### Impact
The 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 vulnerabili
OSV
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
osv·2026-03-13
CVE-2026-2229 [HIGH] Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
### Impact
The 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 vulnerabili
OSV
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 th
osv·2026-03-12·CVSS 7.5
CVE-2026-2229 [HIGH] 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 th
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,
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-2229 undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
bugzilla·2026-03-12·CVSS 7.5
CVE-2026-2229 [HIGH] CVE-2026-2229 undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
CVE-2026-2229 undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
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 vulnerabilit
Bugzilla
CVE-2026-2229 nodejs20: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter [fedora-all]
bugzilla·2026-03-12·CVSS 7.5
CVE-2026-2229 [HIGH] CVE-2026-2229 nodejs20: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter [fedora-all]
CVE-2026-2229 nodejs20: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
FEDORA-2026-9dc3a61ad8 (nodejs20-20.20.2-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9dc3a61ad8
---
FEDORA-2026-9dc3a61ad8 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-9dc3a61ad8`
You can provide feedback for this u
Bugzilla
CVE-2026-2229 nodejs22: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter [fedora-all]
bugzilla·2026-03-12·CVSS 7.5
CVE-2026-2229 [HIGH] CVE-2026-2229 nodejs22: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter [fedora-all]
CVE-2026-2229 nodejs22: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
FEDORA-2026-3b76d8047d (nodejs22-22.22.2-3.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3b76d8047d
Wiz
CVE-2026-2229 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 7.5
CVE-2026-2229 [HIGH] CVE-2026-2229 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-2229 :
JavaScript vulnerability analysis and mitigation
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 isValidClientWind
https://cna.openjsf.org/security-advisories.htmlhttps://datatracker.ietf.org/doc/html/rfc7692https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8https://hackerone.com/reports/3487486https://nodejs.org/api/zlib.html#class-zlibinflaterawhttps://access.redhat.com/errata/RHSA-2026:13826https://access.redhat.com/errata/RHSA-2026:17789https://access.redhat.com/errata/RHSA-2026:21772https://access.redhat.com/errata/RHSA-2026:21931https://access.redhat.com/errata/RHSA-2026:34342https://access.redhat.com/errata/RHSA-2026:5807https://access.redhat.com/errata/RHSA-2026:7080https://access.redhat.com/errata/RHSA-2026:7123https://access.redhat.com/errata/RHSA-2026:7302https://access.redhat.com/errata/RHSA-2026:7310https://access.redhat.com/errata/RHSA-2026:7350https://access.redhat.com/errata/RHSA-2026:7670https://access.redhat.com/errata/RHSA-2026:7675https://access.redhat.com/errata/RHSA-2026:7983https://access.redhat.com/errata/RHSA-2026:9742https://access.redhat.com/security/cve/CVE-2026-2229https://bugzilla.redhat.com/show_bug.cgi?id=2447143https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2229.json
2026-03-12
Published