Home › Vulnerabilities › faye
Six websocket-driver flaws in Node.js allow remote crashes, duplicate messages and memory exhaustion
NVD published six vulnerabilities in the websocket-driver WebSocket handler on 2026-11-30. The records describe unauthenticated remote clients causing process crashes, duplicated messages or memory exhaustion, and they name fixes in versions 0.8.0, 0.8.1 and 0.8.2.
What to look into
- 6 vulnerabilities in faye websocket-driver-node: 1 critical, 5 high (CVSS up to 9.1).
- None of them is known to be exploited yet.
- Start with CVE-2026-140004 (9.1 critical): WebSocket Driver Vulnerability in faye websocket-driver-node Allows Message Duplication and Crashes. An attacker without an account can exploit this over the network, without any user action.
- 6 of 6 can be attacked over the network without logging in, 6 of them without anyone clicking anything.
- Kinds of flaws: Allocation of Resources Without Limits or Throttling (×3); Uncontrolled Resource Consumption (×2); Improper Check for Unusual or Exceptional Conditions.
Key points
- Six websocket-driver flaws were published together, all attributed to unauthenticated remote clients.
- CVE-2026-140004 is the most severe, rated CRITICAL at CVSS 9.1, and can duplicate messages or crash the server.
- CVE-2026-140005 and CVE-2026-140003 are reported to crash Node.js v22 and below.
- Three HIGH flaws can exhaust memory through fragments, half-open connections or retained buffers.
- The records do not state that any of these flaws is known to be exploited.
Overview
Six vulnerabilities in websocket-driver, a WebSocket protocol handler with pluggable input and output, were published together by NVD on 2026-11-30. Each record describes an unauthenticated remote client. None of the records states that these flaws are known to be exploited, and none describes code execution. The stated outcomes are process crashes, duplicated messages and memory exhaustion.
Crash and parser flaws
CVE-2026-140004 is rated CRITICAL (CVSS 9.1). It affects the draft75 and draft76 message parser, where a short crafted byte sequence can cause a received message to be emitted twice or crash the server process. CVE-2026-140005 (HIGH, CVSS 7.5) lets a pong payload select inherited object properties, such as proto or hasOwnProperty, in a callback object. The record says this can crash the process on Node.js v22 and below. CVE-2026-140003 (HIGH, CVSS 7.5) affects the draft76 handshake. A crafted Sec-WebSocket-Key1 or Sec-WebSocket-Key2 can produce a value larger than 32 bits, which triggers a Buffer range exception and crashes the process on Node.js v22 and below.
Memory exhaustion flaws
Three HIGH records (CVSS 7.5) describe resource exhaustion. CVE-2026-140001 covers a fragmented-message buffer that keeps growing when a client sends an endless stream of zero-length continuation frames while a message stays unfinished. CVE-2026-140002 covers a driver that keeps buffering bytes after a close frame when a half-open client continues sending data. CVE-2026-140000 covers small reads through StreamReader.read() that can keep large TCP input buffers in memory, which the record says can cause substantial memory inflation.
Fixed versions
The records name fixes in 0.8.0 for CVE-2026-140003, CVE-2026-140004 and CVE-2026-140005, in 0.8.1 for CVE-2026-140001 and CVE-2026-140002, and in 0.8.2 for CVE-2026-140000. The records do not state workarounds or detection guidance.
What to do
- Upgrade websocket-driver to 0.8.2, the highest fixed version named, which is later than the 0.8.0 and 0.8.1 fixes listed in the records.
- Identify applications and dependencies that use websocket-driver, including indirect ones, and prioritize those that accept WebSocket connections from untrusted clients.
The 6 vulnerabilities
- CVE-2026-140004 9.1 WebSocket Driver Vulnerability in faye websocket-driver-node Allows Message Duplication and Crashes
- CVE-2026-140005 7.5 websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, pong payloads are used directly as property names in an ordinary JavaScript callback object, allowing inherited Object properties to be selec…
- CVE-2026-140003 7.5 websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, the draft76 handshake parser derives integers from Sec-WebSocket-Key1 and Sec-WebSocket-Key2 by extracting digits and dividing by the number…
- CVE-2026-140001 7.5 websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, the fragmented-message buffer stores every received frame payload, including zero-length Buffer objects, until a final fragment arrives. An u…
- CVE-2026-140002 7.5 websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, receiving a WebSocket close frame moves the driver into a state where the parser no longer consumes input, but a half-open TCP client can con…
- CVE-2026-140000 7.5 websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.2, StreamReader.read() uses Buffer.slice() for small reads, so small fragmented message frames can retain references to much larger TCP input Bu…
Frequently asked questions
How many faye websocket-driver-node vulnerabilities were published on November 30, 2026?
6 vulnerabilities: 1 critical, 5 high, with CVSS scores up to 9.1.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-140004 (CVSS 9.1): WebSocket Driver Vulnerability in faye websocket-driver-node Allows Message Duplication and Crashes.