Threat Advisory

Unauthenticated WebSocket Clients Can Crash Permessage-Deflate-Ruby Servers

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-140011 with a CVSS score of 7.5 is a resource exhaustion vulnerability in the permessage-deflate Ruby WebSocket compression extension, affecting permessage_deflate versions < 0.2.0, websocket-extensions versions < 0.2.0, and websocket-driver versions >= 0.5.0, < 0.9.0. The flaw occurs when a server using the extension accepts a compressed WebSocket message and fully inflates it before enforcing any configured maximum message length. An unauthenticated remote attacker can exploit this over the network by sending a small compressed frame that decompresses to a much larger buffer, around 1,000 times larger than the received data, causing the server to allocate excessive memory. Because the extension does not stop decompression when the output exceeds the intended limit, the attack can bypass message size controls and exhaust available memory, leading to a crash or denial of service. The impact is primarily availability, with memory-constrained services, APIs, chat systems, or real-time WebSocket endpoints facing disruption, degraded performance, and potential loss of business operations.

RECOMMENDATIONS:

  • We recommend you to update permessage_deflate to version 0.2.0.
  • We recommend you to update websocket-extensions to version 0.2.0.
  • We recommend you to update websocket-driver to version 0.9.0.

REFERENCES:

The following reports contain further technical details:[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-140011 with a CVSS score of 7.5 is a resource exhaustion vulnerability in the permessage-deflate Ruby WebSocket compression extension, affecting permessage_deflate versions < 0.2.0, websocket-extensions versions < 0.2.0, and websocket-driver versions >= 0.5.0, < 0.9.0. The flaw occurs when a server using the extension accepts a compressed WebSocket message and fully inflates it before enforcing any configured maximum message length. An unauthenticated remote attacker can exploit this over the network by sending a small compressed frame that decompresses to a much larger buffer, around 1,000 times larger than the received data, causing the server to allocate excessive memory. Because the extension does not stop decompression when the output exceeds the intended limit, the attack can bypass message size controls and exhaust available memory, leading to a crash or denial of service. The impact is primarily availability, with memory-constrained services, APIs, chat systems, or real-time WebSocket endpoints facing disruption, degraded performance, and potential loss of business operations.

RECOMMENDATIONS:

  • We recommend you to update permessage_deflate to version 0.2.0.
  • We recommend you to update websocket-extensions to version 0.2.0.
  • We recommend you to update websocket-driver to version 0.9.0.

REFERENCES:

The following reports contain further technical details:[emaillocker id="1283"]

[/emaillocker]
crossmenu