Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-2229— undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation

CVSS 7.5 · High EPSS 0.20% · P42
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-2229

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation
Source: NVD (National Vulnerability Database)
Vulnerability 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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
未捕获的异常
Source: NVD (National Vulnerability Database)
Vulnerability Title
undici 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
undici是Node.js开源的一个HTTP/1.1客户端。 undici存在安全漏洞,该漏洞源于对permessage-deflate扩展中server_max_window_bits参数验证不当,可能导致拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
undiciundici < 6.24.0; 7.0.0 < 7.24.0 -

II. Public POCs for CVE-2026-2229

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-2229

登录查看更多情报信息。

Same Patch Batch · undici · 2026-03-12 · 6 CVEs total

CVE-2026-15267.5 HIGHundici is vulnerable to Unbounded Memory Consumption in undici WebSocket permessage-deflat
CVE-2026-15287.5 HIGHundici is vulnerable to Malicious WebSocket 64-bit length overflows undici parser and cras
CVE-2026-15256.5 MEDIUMundici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Respon
CVE-2026-25815.9 MEDIUMundici is vulnerable to Unbounded Memory Consumption in in Undici's DeduplicationHandler v
CVE-2026-15274.6 MEDIUMundici is vulnerable to CRLF Injection via upgrade option

IV. Related Vulnerabilities

V. Comments for CVE-2026-2229

No comments yet


Leave a comment