CVE-2026-1526 Details
Description
The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive. The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.
A denial-of-service vulnerability has been identified in the undici WebSocket client, specifically in versions prior to 6.24.0 and 7.0.0 prior to 7.24.0. The issue arises during the decompression of WebSocket frames that use the permessage-deflate extension. The client decompresses incoming compressed frames without imposing any limits on the size of the decompressed data. This flaw allows a malicious WebSocket server to send a small compressed frame that unpacks into a significantly larger size in memory, leading to excessive memory consumption. As a result, the Node.js process can run out of available memory, causing it to crash or become unresponsive. This vulnerability takes advantage of the PerMessageDeflate.decompress() method, which collects all decompressed chunks in memory and merges them into a single Buffer without verifying whether the total size exceeds a safe limit.
Users should upgrade to undici version 6.24.0 or 7.24.0.
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-409 | Improper Handling of Highly Compressed Data (Data Amplification) | openjs |
| CWE-770 | Allocation of Resources Without Limits or Throttling | redhat-SADP |
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 |