websocket-driver memory exhaustion from buffering data after socket close
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
Before 0.9.1, websocket-driver kept adding bytes from a piped socket to an internal buffer after a WebSocket close frame had caused the driver to emit a close event. TCP lets the peer keep a half-open connection and keep sending, so the unconsumed buffer can grow without limit. An unauthenticated remote attacker can exhaust server memory and crash the process (CWE-770; CVSS 3.1 7.5, HIGH).
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close frame caused the driver to emit a close event. Because TCP permits the peer to keep a half-open connection and continue sending bytes, the unconsumed buffer could grow indefinitely until an unauthenticated remote attacker exhausted server memory and crashed the process. This issue is fixed in version 0.9.1.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade websocket-driver to version 0.9.1 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA websocket-driver-ruby (faye) Fixed in 0.9.1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-140015
References
More faye vulnerabilities
- 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-101214 Memory exhaustion in permessage-deflate-ruby message decompression CVSS 3.1HIGH 7.5
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences