websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed
CVE-2026-140015GHSA-7c6x-34q5-4g2jPublished 30 Nov 2026, 22:03 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| websocket-driverNiche | < 0.9.1 | 0.9.1 |
| websocket-driverNiche | < 0.9.1 | 0.9.1 |
What to do
Update to a fixed version: 0.9.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 58), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 2 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-770
References
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-7c6x-34q5-4g2jvendor-advisory
- https://github.com/faye/websocket-driver-ruby/commit/a8085fea980c971cad4dea817183c42efd2290c2misc
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.1misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-140015
- https://github.com/advisories/GHSA-7c6x-34q5-4g2j
- CVE-2026-140015 on CVE.org