CVE-2026-144293: websocket-driver: Excessive memory use caused by draft-75/76 buffering
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.2, a server created with WebSocket::Driver.server() and allowdrafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond maxlength. An unauthenticated remote client can start a legacy draft text frame and omit its terminating delimiter, causing memory consumption to grow until the server process crashes. This issue is fixed in version 0.9.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.9.2
Event History
Frequently Asked Questions
Which deployments are exposed?
Servers created with WebSocket::Driver.server() are affected only when allow_drafts is enabled. Versions prior to 0.9.2 are vulnerable.
What does an attacker need to do to trigger the issue?
An unauthenticated remote client must initiate a legacy draft-75/76 text frame and omit its terminating delimiter. This causes the selected delimited-frame parser to keep buffering the incomplete message.
What should teams do if they cannot update immediately?
Disable allow_drafts where possible so the server cannot select the draft-75/76 parser. Update websocket-driver to version 0.9.2 to fix the issue.