CVE Catalog

CVE-2026-1526

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.15%

64th percentile - higher than 64% of all known CVEs

Summary

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. 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.

Risk Assessment

The organization risks service disruption in Node.js applications using the undici WebSocket client, potentially leading to downtime and financial losses.

Recommendation

Immediately update the undici library to a version that limits decompressed data size in the PerMessageDeflate.decompress() method. If an update is not possible, temporarily disable the permessage-deflate extension in the WebSocket client configuration.

Other vulnerabilities in undici

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS