Critical vulnerabilities
2 critical vulnerabilities in websocket-driver and websocket-driver
2 vulnerabilities rated critical (CVSS 9.0 or higher) found on 1 December 2026: Denial of service in Ruby gems, Denial of service in npm packages.
- 2 critical
Denial of service in websocket-driver · RubyGems
CVE-2026-140016
websocket-driver: Message corruption and denial of service triggered by crafted client message
- Severity
- Critical 9.1
- Published
- 1 Dec 2026
- Fixed in
- 0.9.0
- Exploit chance
- 0.8% in the next 30 daysHigher than 57% of CVEs. EPSS by FIRST, 1 Dec 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Change data · Take it down
An unauthenticated remote client can trigger message corruption and denial of service by starting a draft75 or draft76 WebSocket connection and sending a brief sequence of bytes. The byte sequence is parsed incorrectly and can lead to duplicate messages or server crash.
The websocket-driver library supports earlier versions of the WebSocket protocol from before the RFC was standardised, particularly the draft75 and draft76 versions. There is a bug in the parsing of messages in these versions that can lead to the server duplicating received messages or crashing when a client sends a specific sequence of bytes over a connection being handled by this parser. No special conditions are required and the input message that triggers this behaviour is very short, so an attacker can easily crash a remote server.
To mitigate this, the parser bug has been fixed, and support for draft protocol versions has been disabled by default.
| Software | Affected versions |
|---|---|
| websocket-driverRubyGems |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140016
- GitHub Advisory Database https://github.com/advisories/GHSA-pf93-24xc-xgxc
Denial of service in websocket-driver · npm
CVE-2026-140004
websocket-driver: Message corruption and denial of service triggered by crafted client message
- Severity
- Critical 9.1
- Published
- 1 Dec 2026
- Fixed in
- 0.8.0
- Exploit chance
- 0.6% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 1 Dec 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Change data · Take it down
An unauthenticated remote client can trigger message corruption and denial of service by starting a draft75 or draft76 WebSocket connection and sending a brief sequence of bytes. The byte sequence is parsed incorrectly and can lead to duplicate messages or server crash.
The websocket-driver library supports earlier versions of the WebSocket protocol from before the RFC was standardised, particularly the draft75 and draft76 versions. There is a bug in the parsing of messages in these versions that can lead to the server duplicating received messages or crashing when a client sends a specific sequence of bytes over a connection being handled by this parser. No special conditions are required and the input message that triggers this behaviour is very short, so an attacker can easily crash a remote server.
To mitigate this, the parser bug has been fixed, and support for draft protocol versions has been disabled by default.
| Software | Affected versions |
|---|---|
| websocket-drivernpm |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140004
- GitHub Advisory Database https://github.com/advisories/GHSA-v36f-rjg3-3v46
From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.