CVE-2026-140002
websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed
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.
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-hvqhAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| websocket-driver-node faye |
< 0.8.1 (affected) | CNA: GitHub_M |
websocket-driverwebsocket-driver
npm |
≥ 0; < 0.8.1 (affected, semver); OSV events: introduced 0; fixed 0.8.1Source events (semver)
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
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA: 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:H | NVD: [email protected] |
Exploit evidence
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v674-7268-hvqh
exploit · ADP: CISA-ADP
References
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v674-7268-hvqhCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/faye/websocket-driver-node/commit/189e7b7e75d49e61f2589da995de6e7323db6284CNA: GitHub_M · x_refsource_MISC
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v674-7268-hvqhADP: CISA-ADP · exploit
- https://github.com/faye/websocket-driver-node/commit/189e7b7e75d49e61f2589da995de6e7323db6284[email protected]
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v674-7268-hvqh[email protected]
- https://github.com/advisories/GHSA-v674-7268-hvqhOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-v674-7268-hvqhOSV / GitHub Security Advisories · osv
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/cveshttps://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.