Memory exhaustion after WebSocket close
Published: November 26, 2026
SECURITY IDENTIFIERS
- CVE: CVE-2026-140015 (NVD)
- GHSA: GHSA-7c6x-34q5-4g2j
GEM
SEVERITY
CVSS v3.x: 7.5 (High)
PATCHED VERSIONS
>= 0.9.1
DESCRIPTION
Impact
A server using websocket-driver can be made to run out of memory and crash
by an unauthenticated remote attacker by sending sufficient data over a single
socket.
Details
This has been mitigated by destroying the buffer when the socket undergoes any failure event, including an explicit close. The buffer is dereferenced and no further data will be added to it, and it should eventually be garbage collected along with the rest of the connection objects.
