Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. websocket-driver
  4. ›
  5. CVE-2026-140002

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

December 1, 2026

A WebSocket server implemented using websocket-driver can be made to buffer data in memory indefinitely by a client that connects, sends a single close frame, and then leaves its side of the connection open while it continues to send more data over the connection.

References

  • github.com/advisories/GHSA-v674-7268-hvqh
  • github.com/faye/websocket-driver-node/commit/189e7b7e75d49e61f2589da995de6e7323db6284
  • github.com/faye/websocket-driver-node/security/advisories/GHSA-v674-7268-hvqh
  • nvd.nist.gov/vuln/detail/CVE-2026-140002

Code Behaviors & Features

Detect and mitigate CVE-2026-140002 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.8.1

Fixed versions

  • 0.8.1

Solution

Upgrade to version 0.8.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/websocket-driver/CVE-2026-140002.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 02 Dec 2026 00:16:43 +0000.