cvelo
P2 · HighCVSS 7.5EPSS 0.8%

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

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 versionsFixed in
    < 0.9.1none stated
  • websocket-driverRubyGems

    Affected versionsFixed in
    before 0.9.10.9.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.