Public vulnerability disclosure

CVE-2026-140002

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

publishedCWE-770

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, receiving a WebSocket close frame moves the driver into a state where the parser no longer consumes input, but a half-open TCP client can continue sending bytes that the driver buffers in memory. An unauthenticated remote client can send one close frame, keep its side of the connection open, and stream data indefinitely until the server exhausts memory and crashes. This issue is fixed in version 0.8.1.

Technical severity7.5 highCVSS 3.1 · CNA: GitHub_M
Published2026-11-30Source updated 2026-12-01
Collected2026-12-014 attributed sources

Fixes and workarounds

Fix

websocket-driver (npm): OSV reports a fixed version 0.8.1. Check the advisory for supported release branches.

Source: OSV GHSA-v674-7268-hvqh

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
websocket-driver-node
faye
< 0.8.1 (affected) CNA: GitHub_M
websocket-driver

websocket-driver
npm
≥ 0; < 0.8.1 (affected, semver); OSV events: introduced 0; fixed 0.8.1
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.8.1"
  }
]

Other versions: unaffected
OSV GHSA-v674-7268-hvqh

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCNA: GitHub_M
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide