Vulnerability

CVE-2026-1526

highCVSS 3.1 7.5Published 12 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Node.js undici

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning