Denial-of-Service Vulnerability in Undici WebSocket Client by Node.js
CVE-2026-1526

7.5HIGH

Key Information:

Vendor

Undici

Status
Vendor
CVE Published:
12 March 2026

What is CVE-2026-1526?

The Undici WebSocket client contains a vulnerability that allows for denial-of-service attacks due to unbounded memory consumption during the permessage-deflate decompression process. When the WebSocket client negotiates the permessage-deflate extension, it decompresses incoming compressed data without a limit on the size of the decompressed output. This presents a risk if a malicious WebSocket server sends a small compressed payload that expands significantly during decompression, leading to substantial memory usage. Consequently, this can exhaust the Node.js process’s memory, resulting in crashes or unresponsiveness. The vulnerability specifically resides in the PerMessageDeflate.decompress() method, which fails to enforce safe thresholds for the total size of decompressed data.

Affected Version(s)

undici < 6.24.0; 7.0.0 < 7.24.0 < 6.24.0; 7.0.0 < 7.24.0

undici 6.24.0: 7.24.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Matteo Collina
Ulises GascĂłn
HO9
.