CVE-2026-140015

7.5High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

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

Unauthenticated 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.

Root cause

The driver continues to buffer incoming data into an internal buffer even after a WebSocket close frame has been processed.

Affected versions

websocket-driver prior to 0.9.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.9.1 or later. If you cannot patch immediately, implement rate limiting or connection timeouts on your WebSocket proxy to drop connections that remain open after a close frame.

remediation — bash
$ gem update websocket-driver

AI-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.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close frame caused the driver to emit a close event. Because TCP permits the peer to keep a half-open connection and continue sending bytes, the unconsumed buffer could grow indefinitely until an unauthenticated remote attacker exhausted server memory and crashed the process. This issue is fixed in version 0.9.1.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140015

More fully triaged vulnerabilities you may want to check next.