CVE-2026-140000
HIGH 7.5CVSS 3.1websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads
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.
- Published
- 30 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-j7r2-xppq-m353
- Sources
- NVDJSONCVE ListJSONOSV GHSA-j7r2-xppq-m353JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | faye | websocket-driver-node | = < 0.8.2 | |
| OSV | npm | websocket-driver | < 0.8.2 | 0.8.2 |
References
- https://github.com/faye/websocket-driver-node/commit/93c3c5fc43e40726eaa3c25d13d200f0ec12cfed · x_refsource_MISC, WEB
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-j7r2-xppq-m353 · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140000 · ADVISORY
- https://github.com/faye/websocket-driver-node · PACKAGE
History
- 3 Dec 2026 05:06 UTC · OSV: first stored (published 3 Dec 2026)
- 1 Dec 2026 14:27 UTC · NVD: updated (other details)
- 1 Dec 2026 14:04 UTC · CVE List: updated (other details)
- 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 21:58 UTC · CVE List: first stored (published 30 Nov 2026)