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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-11-30T22:03:04.207Z
- Modified: 2026-12-01T19:30:03.388Z
- Also known as: GHSA-7c6x-34q5-4g2j
- Weaknesses: CWE-770
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- faye websocket-driver-ruby: < 0.9.1
- websocket-driver (RubyGems): before 0.9.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-7c6x-34q5-4g2j> (web)
- <https://github.com/faye/websocket-driver-ruby/commit/a8085fea980c971cad4dea817183c42efd2290c2> (web)
- <https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140015> (advisory)
- <https://github.com/faye/websocket-driver-ruby> (package)

## Sources

- CVE List: [CVE-2026-140015](https://www.cve.org/CVERecord?id=CVE-2026-140015), CVE Terms of Use, modified 2026-11-30
- GitHub Advisory Database: [GHSA-7c6x-34q5-4g2j](https://github.com/advisories/GHSA-7c6x-34q5-4g2j), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-140015](https://nvd.nist.gov/vuln/detail/CVE-2026-140015), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140015 · Whole record: https://cve.day/CVE-2026-140015.json · Rebuilt by cve.day 2026-12-01T20:07:25.031Z
