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.
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:7080 https://access.redhat.com/errata/RHSA-2026:7080
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:7123 https://access.redhat.com/errata/RHSA-2026:7123
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:7302 https://access.redhat.com/errata/RHSA-2026:7302
This issue has been addressed in the following products: Red Hat Enterprise Linux 10.0 Extended Update Support Via RHSA-2026:7310 https://access.redhat.com/errata/RHSA-2026:7310
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:7350 https://access.redhat.com/errata/RHSA-2026:7350