HIGHCVSS v3.1 7.5Vulnerability

CVE-2026-144294

### Summary A WebSocket server built using `websocket-driver` can be made to buffer data from the client beyond the limit set by `max_length`, if it attempts to close the socket but the client ignores this request and continues to send data on a half-open socket. ### Details When a `websocket-driver` instance calls `close()`, this has the effect of sending a WebSocket Close frame to the other peer. The peer should respond with its own Close frame and then both parties should close the connection. If the client ignores the Close frame, and instead continues to send message data, the server will continue to process this data (as it is listening for the client's Close response). However, it does not validate messages as it normally would and fails to reject messages that exceed `max_length`. This happens even if the server closes the TCP socket, as the client can take advantage of TCP's half-open behaviour to keep sending data. The client can abuse this to make the server buffer an indefinite volume of data, ignoring the `max_length` setting, until it runs out of memory and crashes. This was caused by the driver not enforcing validating on incoming messages. It has been mitigated by making the `close()` method put the parser in a state where `max_length` will still be enforced, and a too-large message will result in it failing the connection. ### Proof of concept Given a server configured as follows, which responds to an incoming message by invoking `driver.close()`: ```rb require 'bundler/setup' require 'eventmachine' require 'websocket/driver' require 'permessage_deflate' module Connection def initialize @driver = WebSocket::Driver.server(self, :allow_drafts => true) @driver.add_extension(PermessageDeflate) @driver.on(:connect) { |e| @driver.start if WebSocket::Driver.websocket? @driver.env } @driver.on(:message) { |e| @driver.close } @driver.on(:close) { |e| close_connection_after_writing } end def receive_data(data) @dri

Properties

Severity
high
Summary
websocket-driver: Memory exhaustion triggered by client continuing to send message data after the server sent a Close frame
Nvd fetched at
2026-12-06T11:16:09.893609+00:00
Epss score
0.00921
Cvss severity
HIGH
Cvss score
7.5
Retrieved at
2026-12-06T11:17:52+00:00
Ghsa published
2026-12-04T22:05:10Z
Source url
https://github.com/advisories/GHSA-xr87-hm5c-qpwp
Ghsa updated
2026-12-04T22:05:11Z
Ghsa id
GHSA-xr87-hm5c-qpwp
Last source
FIRST EPSS
Score
7.5
Cvss version
3.1
Cve id
CVE-2026-144294
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
First seen by Signal
2026-12-03T18:53:57+00:00
Name
CVE-2026-144294
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Related Entities (3)

AFFECTS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-144294 (CVSS v3.1 7.5) — Ninja Signal Threat Intelligence | Ninja Signal