TROYANOSYVIRUS
Back to CVEs

CVE-2026-1526

HIGH
7.5

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.

CVE Details

CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/12/2026
Last Modified3/20/2026
Sourcenvd
Honeypot Sightings0

Affected Products

nodejs:undici

Weaknesses (CWE)

CWE-409

References

https://cna.openjsf.org/security-advisories.html(ce714d77-add3-4f53-aff5-83d477b104bb)
https://datatracker.ietf.org/doc/html/rfc7692(ce714d77-add3-4f53-aff5-83d477b104bb)
https://hackerone.com/reports/3481206(ce714d77-add3-4f53-aff5-83d477b104bb)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.