Read the docs

Memory exhaustion in websocket-driver-ruby after the server sends a Close frame

Priority HIGH 72CWE-770Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-770.

Summary

The websocket-driver-ruby WebSocket protocol handler, before 0.9.2, does not enforce its max_length limit on message data after the server calls close(). A client that ignores the Close frame can keep sending oversized messages while the server waits for its Close response, so memory use grows without bound (CWE-770). An unauthenticated remote attacker can use a half-open TCP connection to crash the server.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Description from the CNA

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.2, after a server calls close(), the closing parser state can continue accepting message data from a client that ignores the Close frame without enforcing max_length. A client can exploit a half-open TCP connection to send an oversized message while the server waits for the peer's Close response, causing unbounded buffering and an unauthenticated remote server crash. This issue is fixed in version 0.9.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
Fix Fixed websocket-driver-ruby (faye): 0.9.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
fayewebsocket-driver-rubybefore 0.9.20.9.2Patch availableCNA
  • websocket-driver-ruby Vendorfaye Affected before 0.9.2 Fixed in 0.9.2 Patch available CNA

Remediation

Upgrade websocket-driver-ruby to version 0.9.2, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

  • Fix · CNA websocket-driver-ruby (faye) Fixed in 0.9.2

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-144294
  2. 2026-12-03 CISA SSVC decision points changed

References

  • TI-2026-101220 Parsing flaw in websocket-driver duplicates messages or crashes server CVSS 3.1CRITICAL 9.1
  • TI-2026-96606 Decompression bomb in Faye websocket-driver crashes servers CVSS 4.0HIGH 8.7
  • TI-2026-103753 Uncaught exception in websocket-driver lets clients crash the server CVSS 3.1HIGH 7.5
  • TI-2026-103752 Memory exhaustion in websocket-driver after server sends Close frame CVSS 3.1HIGH 7.5
  • TI-2026-101214 Memory exhaustion in permessage-deflate-ruby via message decompression CVSS 3.1HIGH 7.5
  • TI-2026-101207 Denial of service in websocket-driver via a crafted pong frame CVSS 3.1HIGH 7.5
See all 23 →

Sources

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