websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed
- CVE-2026-140015
- GHSA-7c6x-34q5-4g2j
- EUVD-2026-139741
Description
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.
Text from the CVE.org record.
Recommendation
websocket-driver
- If you run a version before 0.9.1update to 0.9.1 or laterwebsocket-driver 0.9.1 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
faye websocket-driver-ruby
Affected versions Fixed in < 0.9.1 none stated websocket-driverRubyGems
Affected versions Fixed in before 0.9.1 0.9.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.