CVE-2026-144295: 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.8.3, a server with allowDrafts enabled does not enforce maxLength while the draft-75/76 parser buffers an unterminated delimited message. An unauthenticated remote client can start a legacy frame without sending its terminator and continue supplying data, causing the server to retain memory beyond the configured limit until the process runs out of memory and crashes. Disabling allowDrafts prevents access to this legacy protocol path. This issue is fixed in version 0.8.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/websocket-driverto a version that resolves this vulnerability.Fixed in 0.8.3 - Configuration
Disable allowDrafts to prevent access to the legacy draft-75/76 protocol path.
websocket-driver allowDrafts = false
Event History
Frequently Asked Questions
Who is exposed to this issue?
Servers using websocket-driver versions before 0.8.3 are exposed if allowDrafts is enabled. The affected path is the legacy draft-75/76 WebSocket parser.
What does an attacker need to do?
An unauthenticated remote client can exploit the issue by starting a legacy delimited frame, withholding its terminator, and continuing to send data. No privileges or user interaction are required.
Does configuring a maximum message length prevent the issue?
No. With allowDrafts enabled, the draft-75/76 parser does not enforce maxLength while buffering an unterminated delimited message.
What can be done if upgrading is not immediately possible?
Disable allowDrafts to prevent access to the vulnerable legacy protocol path. Upgrade to websocket-driver 0.8.3 when possible.
What is the operational impact of successful exploitation?
The server can retain memory beyond its configured limit until the process runs out of memory and crashes, causing a denial of service.