Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.1

CVE-2026-140004: websocket-driver may duplicate messages or cause server crash

CVE-2026-140004 · published 5 days ago
Summary

The websocket-driver library used in several Node.js packages can mishandle a specially crafted short message from an unauthenticated client on old WebSocket drafts. This can make the server deliver the same message twice or crash the process, interrupting service. Update the affected packages (debian/node-websocket-driver, canonical/node-websocket-driver, faye/websocket-driver-node, websocket-driver) to version 0.8.0 or newer.

What to do
  • Update websocket-driver to version 0.8.0.
Affected software
Ecosystem VendorProductAffected versions
Debian:12 debian node-websocket-driver All versions
Ubuntu:16.04:LTS canonical node-websocket-driver All versions
– faye websocket-driver-node < 0.8.0
npm – websocket-driver < 0.8.0
Fix: upgrade to 0.8.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.8.0, a bug in the draft75 and draft76 message parser mishandles a short crafted byte sequence. An unauthenticated remote client can send this sequence over a legacy WebSocket connection, causing a received message to be emitted twice or causing the server process to crash. This issue is fixed in version 0.8.0.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-248Uncaught Exception
CWE-456Missing Initialization of a Variable
Timeline
Published30 Nov 2026
Updated5 Dec 2026
First seen30 Nov 2026
Track software like this
Free during beta