websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads
Affects websocket-driverSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 0.8.2 soon.
Data as of 3 Dec 2026, 04:31 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 0.8.2
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.8.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmwebsocket-driver | 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
A patch is available in websocket-driver version 0.8.2 that addresses this memory exhaustion vulnerability by compacting buffered fragments to prevent unbounded memory retention. Users should upgrade to version 0.8.2 or later to mitigate this issue. No other mitigation or workaround is indicated by the vendor advisory.
Description
The websocket-driver library versions prior to 0.8.2 contain a vulnerability where an unauthenticated remote client can cause the server to retain large Buffer objects in memory for extended periods by sending many small fragmented WebSocket frames. This leads to substantial memory inflation and can cause the server to run out of memory and crash. The issue arises because the parser takes slices of TCP input buffers without copying, holding references that prevent garbage collection. Version 0.8.2 includes a fix that compacts buffered fragments to prevent unbounded memory growth.
References
- github.com/faye/websocket-driver-node/security/advisories/GHSA-j7r2-xppq-m353 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140000 (opens in a new tab)
- github.com/faye/websocket-driver-node/commit/93c3c5fc43e40726eaa3c25d13d200f0ec12cfed (opens in a new tab)
- github.com/faye/websocket-driver-node (opens in a new tab)