CVE-2026-144302: websocket-driver: Memory exhaustion triggered by client continuing to send message data after the server sent a Close frame
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.3, after a server calls close(), the parser continues accepting client message data while waiting for the peer's Close response but does not enforce maxLength as it normally would. An unauthenticated client can ignore the server's Close frame and continue a large message over a half-open TCP connection, causing indefinite buffering, memory exhaustion, and a server crash. This issue is fixed in version 0.8.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
websocket-driverto a version that resolves this vulnerability.Fixed in 0.8.3
Event History
Frequently Asked Questions
What access does an attacker need to trigger the denial of service?
An attacker needs only to establish a WebSocket connection to an affected server. No authentication or user interaction is required; the attacker must continue sending message data after the server sends a Close frame instead of replying with a Close response.
Which deployments are exposed?
Servers using websocket-driver versions before 0.8.3 are exposed when they accept client WebSocket connections and can enter the closing state. The issue can cause memory to be buffered indefinitely until the server exhausts memory and crashes.
What is the available remediation?
Upgrade websocket-driver to version 0.8.3, which fixes the missing maxLength enforcement while waiting for the peer's Close response.