Skip to main content
VulnerabilityPublished

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

Affects mailcatcherSource 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 2 Dec 2026, 21:49 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 2 Dec 2026.

What to do

Upgrade websocket-driver to 0.9.1.

Affected software

ProductAffectedFixed in
Homebrewmailcatcherpkg:brew/mailcatcherOther threatsAffected
  • >=0.9.0
Fixed in–
RubyGemswebsocket-driverpkg:gem/websocket-driverOther threatsAffected
  • <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

The vulnerability has been mitigated by changes that destroy the buffer when the socket experiences any failure event, including explicit close. This dereferences the buffer and prevents further data accumulation, allowing garbage collection to reclaim memory. Users should ensure they are using a version of websocket-driver that includes this fix. No additional actions are required if the fix is applied.

Description

A vulnerability in the websocket-driver library used by the mailcatcher product allows an unauthenticated remote attacker to cause memory exhaustion and crash the server. This occurs when a client sends a close frame but keeps the TCP connection half-open and continues sending data, which the server buffers indefinitely. The issue has been mitigated by destroying the buffer on socket failure or close events to allow garbage collection.

References

Community reviews

Loading reviews…