Skip to main content
VulnerabilityPublished

CVE-2026-140015: websocket-driver · Memory exhaustion triggered by buffering of data received after socket is closed

Affects websocket-driverSource GCVE Database

0
Compare
Authoritative record:CVE-2026-140015· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 0.9.1 soon.

Data as of 1 Dec 2026, 20:04 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 0.9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade websocket-driver to 0.9.1.

Affected software

ProductAffectedFixed in
RubyGemswebsocket-driverAffected
  • <0.9.1
Fixed in
  • 0.9.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade websocket-driver to version 0.9.1 or later, where the vulnerability is fixed by properly destroying the buffer on socket close or failure events. No additional mitigation is required once patched.

Description

The websocket-driver library versions prior to 0.9.1 contain a vulnerability where a WebSocket server can exhaust memory by buffering data sent after a close frame is received but before the TCP socket is fully closed. An attacker can exploit this by sending a close frame and then continuing to send data, causing the server to buffer data indefinitely and potentially crash due to memory exhaustion. This issue is fixed in version 0.9.1.

References

Community reviews

Loading reviews…