Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-140016: Websocket-driver can duplicate messages or crash server
CVE-2026-140016 · published 5 days ago
Summary
Versions of the Ruby websocket-driver library before 0.9.0 may mishandle a specially crafted client message, causing the server to repeat messages or stop working. The flaw can be triggered by anyone who can connect to the service. Update the library to version 0.9.0 (or disable the old draft protocols) to eliminate the risk.
What to do
- Update debian ruby-websocket-driver to version 0.9.0-1.
- Update websocket-driver to version 0.9.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | ruby-websocket-driver | All versions |
| Debian:14 | debian | ruby-websocket-driver |
< 0.9.0-1 Fix: upgrade to 0.9.0-1
|
| Ubuntu:16.04:LTS | canonical | ruby-websocket-driver | All versions |
| – | faye | websocket-driver-ruby | < 0.9.0 |
| rubygems | – | websocket-driver |
< 0.9.0 Fix: upgrade to 0.9.0
|
Original advisory text
websocket-driver: Message corruption and denial of service triggered by crafted client message
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.
References
- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625... Patch
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc... Vendor Advisory
- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db... Patch
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0 URL
- https://nvd.nist.gov/vuln/detail/CVE-2026-140016 Vendor Advisory
- https://github.com/advisories/GHSA-pf93-24xc-xgxc
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-1400... Vendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/GH...
- https://security-tracker.debian.org/tracker/CVE-2026-140016 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-140016 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-140016 Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-248Uncaught Exception
CWE-456Missing Initialization of a Variable
Timeline
Published30 Nov 2026
Updated5 Dec 2026
First seen30 Nov 2026
Sources
CVE-2026-140016 · NVD
CVE-2026-140016 · MITRE
GHSA-pf93-24xc-xgxc · GHSA
CVE-2026-140016 · OSV
DEBIAN-CVE-2026-140016 · OSV
UBUNTU-CVE-2026-140016 · OSV
Track software like this
Free during beta