CVE-2026-1526
Last modified
CVE-2026-1526 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Undici | < 6.24.0 |
| Nodejs | Undici | >= 7.0.0, < 7.24.0 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
- https://datatracker.ietf.org/doc/html/rfc7692Technical Description
- https://hackerone.com/reports/3481206Permissions Required
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-1526?
How severe is CVE-2026-1526?
How do I fix CVE-2026-1526?
Are you affected by CVE-2026-1526?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
