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

- 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:19:36.342Z
- Modified: 2026-12-01T14:18:18.630Z
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.2, StreamReader.read() uses Buffer.slice() for small reads, so small fragmented message frames can retain references to much larger TCP input Buffer objects. Before 0.8.1, unfinished fragments can retain source TCP reads until the message completes or reaches maxLength; in 0.8.1, compaction occurs after 1,000,000 fragments but can still retain up to 1,000,000 TCP inputs. An unauthenticated remote client can exploit this retention to cause substantial memory inflation and potentially exhaust server memory. This issue is fixed in version 0.8.2.

(As written by CVE List.)

## Affected

- faye websocket-driver-node: < 0.8.2

## References

- <https://github.com/faye/websocket-driver-node/security/advisories/GHSA-j7r2-xppq-m353>
- <https://github.com/faye/websocket-driver-node/commit/93c3c5fc43e40726eaa3c25d13d200f0ec12cfed>

## Sources

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

---

Page: https://cve.day/CVE-2026-140000 · Whole record: https://cve.day/CVE-2026-140000.json · Rebuilt by cve.day 2026-12-01T14:32:16.782Z
