# CVE-2026-140015: websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.9.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-7c6x-34q5-4g2j, CGA-3426-4jv5-94h8, CGA-hg8j-jhvf-9whx, CGA-853f-qx5f-ww58, CGA-mm9r-qxjm-2fcw, CGA-rp9p-wcvc-6h8p, DEBIAN-CVE-2026-140015, CGA-ff36-7wcr-vm3r, CGA-237p-3rxf-gfjj, CGA-24p7-f2m8-8wg4, CGA-295h-wh3x-j7f5, CGA-2r55-r644-vc88, CGA-3g88-2g24-f2mp, CGA-4525-rmwm-g3p8, CGA-4675-5w9f-3xj7, CGA-48g8-95j9-w94x, CGA-4jxg-4j9p-5625, CGA-4wqc-qfg9-qh6h, CGA-534r-cjv3-4m5r, CGA-6hm3-mv5w-xqrm, CGA-6v4r-jjgr-w7jv, CGA-7876-4w7p-wp52, CGA-86f4-jj84-qj3j, CGA-88rq-jmcp-rjqm, CGA-8hcc-pxgx-9h5w, CGA-8j3h-2qgf-qj9g, CGA-8m7v-f468-w7gr, CGA-8q49-j7c5-jv6h, CGA-99pp-rjw3-hmf4, CGA-9g27-r8m2-3rwx, CGA-9jgm-99qg-9f78, CGA-c2hq-5pfj-3v3q, CGA-cchj-qhj5-m8q9, CGA-chm2-vrrc-hc7h, CGA-f23f-hqj7-x7hf, CGA-ff3j-cpmc-xcjr, CGA-frr2-74f6-wv7w, CGA-g7fv-w26w-2577, CGA-h44c-3hxm-q4c2, CGA-hrwg-7836-4vxm, CGA-m2v2-6x96-5hjw, CGA-mgxv-q6hf-mfc4, CGA-mxh3-p8mp-p8h9, CGA-qc67-f2m8-4vpx, CGA-qjph-3gcq-g7jh, CGA-rg32-pc73-gp3r, CGA-rjx5-fxp7-7qrr, CGA-rmgq-9g2q-35h4, CGA-xhmc-6pq2-3mjq, CGA-xjcw-xqv2-937w, CGA-xp8g-w89j-7qmg, CGA-23xj-6g5g-5x77, CGA-4mf6-47mc-9pf2, CGA-qxrc-p77f-r2gr, CGA-xwmh-4r5q-37cg, CGA-pj2h-v28c-42fj, UBUNTU-CVE-2026-140015
- Record: https://cvemate.com/vulnerability/CVE-2026-140015 · JSON: https://cvemate.com/vulnerability/CVE-2026-140015/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.818%, percentile 58.493%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 40)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.6 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.6 (Chainguard): All versions (No fix recorded) \| \< 19.6.2-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.1 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-7c6x-34q5-4g2j>
- <https://github.com/faye/websocket-driver-ruby/commit/a8085fea980c971cad4dea817183c42efd2290c2>
- <https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140015>
- <https://github.com/faye/websocket-driver-ruby>
- <https://security-tracker.debian.org/tracker/CVE-2026-140015>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140015.json>
- <https://ubuntu.com/security/CVE-2026-140015>
- <https://www.cve.org/CVERecord?id=CVE-2026-140015>

---

Data as of 2026-12-05T05:10:04.498Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
