CVE-2026-1526
JavaScript vulnerability analysis and mitigation

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.


SourceNVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-68qg-g8mg-6pr7CRITICAL10
  • JavaScriptJavaScript
  • @paperclipai/server
NoYesApr 10, 2026
GHSA-jvff-x2qm-6286HIGH8.8
  • JavaScriptJavaScript
  • mathjs
NoYesApr 10, 2026
GHSA-75hx-xj24-mqrwHIGH8.2
  • JavaScriptJavaScript
  • n8n-mcp
NoYesApr 10, 2026
CVE-2026-40299MEDIUM6.9
  • JavaScriptJavaScript
  • next-intl
NoYesApr 10, 2026
GHSA-x7mm-9vvv-64w8LOW2.3
  • JavaScriptJavaScript
  • unhead
NoYesApr 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management