CVE-2026-2229 Details
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
A denial-of-service vulnerability has been identified in the undici WebSocket client, present in versions prior to 6.24.0 and 7.0.0 prior to 7.24.0. The issue arises from inadequate validation of the 'server_max_window_bits' parameter in the 'permessage-deflate' compression extension. When a WebSocket client connects to a server, it automatically offers support for permessage-deflate compression. A malicious server can exploit this by sending an out-of-range 'server_max_window_bits' value, which leads to a synchronous RangeError exception. This unhandled exception causes the Node.js process to terminate immediately.
Users can upgrade to undici versions 6.24.0 or 7.24.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1284 | Improper Validation of Specified Quantity in Input | openjs |
| CWE-248 | Uncaught Exception | redhat-SADP |
| CWE-248 | Uncaught Exception | openjs |
Affected Products
| Product | Versions |
|---|---|
| nodejs undici | < 6.24.0 >= 7.0.0, < 7.24.0 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | CVE Modified | redhat-SADP |
| Sep 3, 2026 | CVE Modified | redhat-SADP |
| Sep 3, 2026 | CVE Modified | openjs |
| Aug 19, 2026 | CVE Modified | redhat-SADP |
| Aug 4, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 2, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | openjs |
| Mar 20, 2026 | Initial Analysis | [email protected] |
| Mar 12, 2026 | New CVE Received | openjs |