CVE-2026-144294: 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.9.2, after a server calls close(), the closing parser state can continue accepting message data from a client that ignores the Close frame without enforcing maxlength. A client can exploit a half-open TCP connection to send an oversized message while the server waits for the peer's Close response, causing unbounded buffering and an unauthenticated remote server crash. This issue is fixed in version 0.9.2.
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.9.2
Event History
Frequently Asked Questions
Who can exploit this issue?
An unauthenticated remote client can exploit it. The client must keep a TCP connection half-open, ignore the server's Close frame, and continue sending oversized WebSocket message data while the server waits for the peer's Close response.
Are default message-size limits sufficient to prevent the crash?
No. In affected versions, the closing parser state does not enforce max_length after the server calls close(), allowing unbounded buffering during that state.
Which versions are affected and what is the fix?
Versions prior to 0.9.2 are affected. Upgrade websocket-driver to version 0.9.2, which fixes the closing-state handling.