CVE-2026-140015: websocket-driver · Memory exhaustion triggered by buffering of data received after socket is closed
Affects websocket-driverSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 0.9.1 soon.
Data as of 1 Dec 2026, 20:04 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 0.9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade websocket-driver to 0.9.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemswebsocket-driver | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade websocket-driver to version 0.9.1 or later, where the vulnerability is fixed by properly destroying the buffer on socket close or failure events. No additional mitigation is required once patched.
Description
The websocket-driver library versions prior to 0.9.1 contain a vulnerability where a WebSocket server can exhaust memory by buffering data sent after a close frame is received but before the TCP socket is fully closed. An attacker can exploit this by sending a close frame and then continuing to send data, causing the server to buffer data indefinitely and potentially crash due to memory exhaustion. This issue is fixed in version 0.9.1.
References
- github.com/faye/websocket-driver-ruby/security/advisories/GHSA-7c6x-34q5-4g2j (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140015 (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/a8085fea980c971cad4dea817183c42efd2290c2 (opens in a new tab)
- github.com/faye/websocket-driver-ruby (opens in a new tab)
- github.com/faye/websocket-driver-ruby/releases/tag/0.9.1 (opens in a new tab)