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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-11-30T21:23:55.010Z
- Modified: 2026-11-30T22:17:29.680Z
- Weaknesses: CWE-770
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- faye websocket-driver-node: < 0.8.1

## References

- <https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v674-7268-hvqh>
- <https://github.com/faye/websocket-driver-node/commit/189e7b7e75d49e61f2589da995de6e7323db6284>

## Sources

- CVE List: [CVE-2026-140002](https://www.cve.org/CVERecord?id=CVE-2026-140002), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-140002](https://nvd.nist.gov/vuln/detail/CVE-2026-140002), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-140002 · Whole record: https://cve.day/CVE-2026-140002.json · Rebuilt by cve.day 2026-11-30T22:32:13.629Z
