CVE-2026-140002
7.5HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- CWE-770
What an attacker gets
Remote attackers can crash your service by exhausting server memory. They only need to send a single WebSocket close frame and keep the TCP connection open.
Root cause
The parser stops consuming input after a close frame but continues buffering incoming bytes in memory.
Affected versions
websocket-driver prior to 0.8.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Upgrade to version 0.8.1 or later. If you cannot patch immediately, implement strict connection timeouts to drop idle or half-open WebSocket connections.
$ npm install websocket-driver@0.8.1AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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 continue sending bytes that the driver buffers in memory. An unauthenticated remote client can send one close frame, keep its side of the connection open, and stream data indefinitely until the server exhausts memory and crashes. This issue is fixed in version 0.8.1.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1400157.5HighUnauthenticated remote attackers can crash your service by exhausting memory. They only need to send a stream of bytes after a WebSocket close frame to trigger the leak.
- CVE-2026-1400169.1CriticalUnauthenticated remote attackers can crash the server or duplicate application messages. This requires no user interaction or authentication.
- CVE-2026-1400057.5HighRemote attackers can crash your Node.js process by sending a crafted WebSocket pong payload. This requires no authentication and targets the underlying JavaScript object prototype.
- CVE-2026-1400017.5HighUnauthenticated remote attackers can crash your Node.js process by exhausting heap memory. They only need to send a stream of zero-length WebSocket continuation frames to trigger the crash.
- CVE-2026-1400037.5HighUnauthenticated remote attackers can crash your Node.js application by sending a malformed WebSocket handshake. This causes a buffer range exception that terminates the process.
- CVE-2026-1400049.1CriticalUnauthenticated attackers can crash the server process or cause message duplication by sending a crafted byte sequence. This affects legacy WebSocket connections using the draft75 or draft76 protocols.