Read the docs

Memory exhaustion in permessage-deflate-ruby message decompression

Priority MEDIUM 48CWE-409Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Faye permessage-deflate-ruby and permessage_deflate before 0.2.0, websocket-extensions before 0.2.0, and websocket-driver from 0.5.0 before 0.9.0 are affected. The :max_length option in websocket-driver is checked only after permessage-deflate fully inflates a message, so a highly compressible message can expand far beyond its wire size (CWE-409). An unauthenticated remote WebSocket client can send such a message to exhaust server memory.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated remote WebSocket client can send a highly compressible message that expands to a much larger size because websocket-driver's :max_length option is checked only after permessage-deflate fully inflates the message. The extension can therefore allocate memory far beyond the wire size and configured message limit, causing memory exhaustion; the coordinated fix enforces :max_length while consuming zlib output and forwards the option through websocket-extensions and websocket-driver. This issue is fixed in permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0.

Why it matters now

Fix Fixed permessage-deflate-ruby (faye): 0.2.0permessage_deflate (faye): 0.2.0+2 more products

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
fayepermessage-deflate-rubybefore 0.2.00.2.0Patch availableCNA
fayepermessage_deflatebefore 0.2.00.2.0Patch availableCNA
fayewebsocket-driver0.5.0 to before 0.9.00.9.0Patch availableCNA
fayewebsocket-extensionsbefore 0.2.00.2.0Patch availableCNA
  • permessage-deflate-ruby Vendorfaye Affected before 0.2.0 Fixed in 0.2.0 Patch available CNA
  • permessage_deflate Vendorfaye Affected before 0.2.0 Fixed in 0.2.0 Patch available CNA
  • websocket-driver Vendorfaye Affected 0.5.0 to before 0.9.0 Fixed in 0.9.0 Patch available CNA
  • websocket-extensions Vendorfaye Affected before 0.2.0 Fixed in 0.2.0 Patch available CNA

Remediation

Upgrade permessage-deflate-ruby and permessage_deflate to 0.2.0, websocket-extensions to 0.2.0, and websocket-driver to 0.9.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA permessage-deflate-ruby (faye) Fixed in 0.2.0
  • Fix · CNA permessage_deflate (faye) Fixed in 0.2.0
  • Fix · CNA websocket-driver (faye) Fixed in 0.9.0
  • Fix · CNA websocket-extensions (faye) Fixed in 0.2.0

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-140011

References

  • TI-2026-96606 Decompression bomb in Faye websocket-driver via permessage-deflate CVSS 4.0HIGH 8.7
  • TI-2026-101204 Crafted input in websocket-driver causes duplicate messages or crash CVSS 3.1CRITICAL 9.1
  • TI-2026-101207 Pong payload triggers crash in websocket-driver CVSS 3.1HIGH 7.5
  • TI-2026-101203 Denial of service in websocket-driver from malformed Sec-WebSocket-Key1 header CVSS 3.1HIGH 7.5
  • TI-2026-101202 Memory exhaustion in websocket-driver buffers data sent after close CVSS 3.1HIGH 7.5
  • TI-2026-101201 Memory exhaustion in websocket-driver via zero-length fragmented frames CVSS 3.1HIGH 7.5
See all 16 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences