# CVE-2026-140001: websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames

- 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.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-11-30T21:21:35.022Z
- Modified: 2026-12-01T19:30:03.383Z
- Also known as: GHSA-7487-9gcw-9w8w
- 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.1, the fragmented-message buffer stores every received frame payload, including zero-length Buffer objects, until a final fragment arrives. An unauthenticated remote client can keep one message unfinished while sending an indefinite stream of zero-length continuation frames, causing the fragment array to grow until the Node.js process exhausts heap 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
- websocket-driver (npm): before 0.8.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/faye/websocket-driver-node/security/advisories/GHSA-7487-9gcw-9w8w> (web)
- <https://github.com/faye/websocket-driver-node/commit/b1dc2c7d70965bff9349351b856168eeec63b280> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140001> (advisory)
- <https://github.com/faye/websocket-driver-node> (package)

## Sources

- CVE List: [CVE-2026-140001](https://www.cve.org/CVERecord?id=CVE-2026-140001), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-7487-9gcw-9w8w](https://github.com/advisories/GHSA-7487-9gcw-9w8w), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-140001](https://nvd.nist.gov/vuln/detail/CVE-2026-140001), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140001 · Whole record: https://cve.day/CVE-2026-140001.json · Rebuilt by cve.day 2026-12-01T19:57:26.690Z
