{"id":"CVE-2026-140001","summary":"websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames","details":"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.","aliases":["GHSA-7487-9gcw-9w8w"],"modified":"2026-11-30T23:00:11.524527203Z","published":"2026-11-30T21:21:35.022Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-400","CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140001.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140001.json"},{"type":"FIX","url":"https://github.com/faye/websocket-driver-node/commit/b1dc2c7d70965bff9349351b856168eeec63b280"},{"type":"ADVISORY","url":"https://github.com/faye/websocket-driver-node/security/advisories/GHSA-7487-9gcw-9w8w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140001"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/faye/websocket-driver-node","events":[{"introduced":"0"},{"fixed":"ef3d0083698d045165225ecff26559c8f856131e"},{"fixed":"b1dc2c7d70965bff9349351b856168eeec63b280"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.8.1"}]},{"range":[{"fixed":"b1dc2c7d70965bff9349351b856168eeec63b280"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["0.8.0","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0","0.4.0","0.3.6","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1","0.3.0","0.2.2","0.2.1","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140001.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}