# CVE-2026-140016: websocket-driver: Message corruption and denial of service triggered by crafted client message

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.81%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-30T22:05:09.765Z
- Modified: 2026-12-01T19:17:13.523Z
- Also known as: GHSA-pf93-24xc-xgxc
- Weaknesses: CWE-248, CWE-456
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WebSocket connections could incorrectly handle a short crafted byte sequence. An unauthenticated remote client could use this parsing flaw to duplicate an application message or crash the server. Draft protocols are disabled by default after the fix and require allow_drafts: true to enable. This issue is fixed in version 0.9.0.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc> (exploit, web)
- <https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f> (web)
- <https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e> (web)
- <https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140016> (advisory)
- <https://github.com/faye/websocket-driver-ruby> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/GHSA-pf93-24xc-xgxc.yml> (web)

## Sources

- CVE List: [CVE-2026-140016](https://www.cve.org/CVERecord?id=CVE-2026-140016), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-pf93-24xc-xgxc](https://github.com/advisories/GHSA-pf93-24xc-xgxc), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-140016](https://nvd.nist.gov/vuln/detail/CVE-2026-140016), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140016 · Whole record: https://cve.day/CVE-2026-140016.json · Rebuilt by cve.day 2026-12-01T19:32:32.252Z
