CVE-2026-140015: websocket-driver · Memory exhaustion triggered by buffering of data received after socket is closed
Affects mailcatcherSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 0.9.1 soon.
Data as of 2 Dec 2026, 21:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.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:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmailcatcherpkg:brew/mailcatcherOther threats | Affected
| Fixed in– |
RubyGemswebsocket-driverpkg:gem/websocket-driverOther threats | Affected
| Fixed in
|
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
- github.com/faye/websocket-driver-ruby/security/advisories/GHSA-7c6x-34q5-4g2j (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140015 (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/a8085fea980c971cad4dea817183c42efd2290c2 (opens in a new tab)
- github.com/faye/websocket-driver-ruby (opens in a new tab)
- github.com/faye/websocket-driver-ruby/releases/tag/0.9.1 (opens in a new tab)