websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames (faye websocket-driver-node)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.52 % · percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- faye · websocket-driver-node
- NVD status
- Received
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.
Weaknesses (CWE)
- CWE-400 — Uncontrolled Resource Consumption
- CWE-770 — Allocation of Resources Without Limits or Throttling
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | 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 | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-7487-9gcw-9w8w — websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames
European references
- ENISA EUVD · EUVD-2026-139701
- GCVE · GCVE-0-2026-140001
Affected products
| Product | Affected versions |
|---|---|
| faye · websocket-driver-node | affected : < 0.8.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |