Skip to main content
CVE-2026-140000VulnerabilityPublished

websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads

Affects websocket-driverSource GCVE Database

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

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

Data as of 3 Dec 2026, 04:31 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.8.2
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.8.2.

Affected software

ProductAffectedFixed in
npmwebsocket-driverAffected
  • <0.8.2
Fixed in
  • 0.8.2

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

Community reviews

Loading reviews…