{"id":"CVE-2026-140001","aliases":["AZL-117520","AZL-117614","CLSA-2026-1796199359","CLSA-2026-1796206185","CLSA-2026-1796226468","DEBIAN-CVE-2026-140001","DHI-fvo6-zcba-4xkc-dyjr","EUVD-2026-139701","GHSA-7487-9gcw-9w8w"],"status":"published","title":"websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00523,"percentile":0.45854,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-400","CWE-770"],"published":"2026-11-30T21:21:35Z","modified":"2026-12-04T16:30:11Z","exploits":[{"source":"pocgithub","id":"googlesky/CVE-2026-140001","title":"googlesky/CVE-2026-140001","date":"2026-12-02","url":"https://github.com/googlesky/CVE-2026-140001"}],"fixes":[{"ecosystem":"npm","package":"websocket-driver","fixed_in":["0.8.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.1"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"python-tensorboard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.16.2-6"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.5-tuxcare.0"},{"fixed":"0.7.5-tuxcare.3"}]}],"versions":["0.7.5","0.7.5-tuxcare.1","0.7.5-tuxcare.2"],"bundled":5},{"source":"osv","ecosystem":"TuxCare:npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.4-tuxcare.0"},{"fixed":"0.7.4-tuxcare.3"}]}],"versions":["0.7.4","0.7.4-tuxcare.1","0.7.4-tuxcare.2"],"bundled":5},{"source":"osv","ecosystem":"TuxCare:npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.5-tuxcare.0"},{"fixed":"0.6.5-tuxcare.3"}]}],"versions":["0.6.5","0.6.5-tuxcare.1","0.6.5-tuxcare.2"],"bundled":2},{"source":"osv","ecosystem":"Debian:12","package":"node-websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.4+~cs0.6.14-1","0.7.4+~cs0.6.7-2","0.7.5+~cs0.6.14-1"]},{"source":"osv","ecosystem":"Debian:13","package":"node-websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.4+~cs0.6.14-1","0.7.4+~cs0.6.7-2","0.7.5+~cs0.6.14-1"]},{"source":"osv","ecosystem":"Debian:14","package":"node-websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.4+~cs0.6.14-1","0.7.4+~cs0.6.7-2","0.7.5+~cs0.6.14-1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"librechat-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.8-r0"}]}],"versions":["0.8.8-r0","0.8.8-r1","0.8.8-r2","0.8.8-r3","0.8.8-r4","0.8.8-r5","0.8.8-r6","0.8.9-r0","0.8.9-r1","0.8.9-r2","0.8.9-r3"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"librechat-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.8-r0"}]}],"versions":["0.8.8-r0","0.8.8-r1","0.8.8-r2","0.8.8-r3","0.8.8-r4","0.8.8-r5","0.8.8-r6","0.8.9-r0","0.8.9-r1","0.8.9-r2","0.8.9-r3"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"librechat-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.8-0"}]}],"versions":["0.8.8-0","0.8.8-1","0.8.8-2","0.8.8-3","0.8.8-4","0.8.8-5","0.8.9-0","0.8.9-1","0.8.9-2","0.8.9-3","0.8.9-4"]},{"source":"osv","ecosystem":"npm","package":"websocket-driver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.1"}]}]}],"products":[{"vendor":"faye","product":"websocket-driver-node"}],"references":[{"url":"https://github.com/faye/websocket-driver-node/security/advisories/GHSA-7487-9gcw-9w8w","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/faye/websocket-driver-node/commit/b1dc2c7d70965bff9349351b856168eeec63b280","tags":["x_refsource_MISC","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140001","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-7487-9gcw-9w8w","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140001.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-140001","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-fvo6-zcba-4xkc-dyjr","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-140001","tags":["advisory"]},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-140001","tags":["advisory"]},{"url":"https://github.com/faye/websocket-driver-node","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-140001","title":"websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames","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.","status":"published","published":"2026-11-30T21:21:35.022Z","modified":"2026-12-01T13:44:19.759Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-400","CWE-770"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-01"},"updated_at":"2026-12-01T13:50:22.137069Z"}],"euvd":[{"id":"EUVD-2026-139701","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.","status":"published","published":"2026-11-30T21:21:35Z","modified":"2026-12-01T13:44:19Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-01T21:20:38.861932Z"}],"ghsa":[{"id":"GHSA-7487-9gcw-9w8w","title":"websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames","description":"### Summary\n\nA server accepting WebSocket connections using `websocket-driver` can be made to run out of memory by a client sending an indefinite stream of zero-length fragmented message frames.\n\n### Details\n\nThe WebSocket protocol allows messages to be delivered as a series of \"fragment\" frames. `websocket-driver` buffers all the individual fragments it receives and then concatenates them all when the final fragment is received. By sending a stream of zero-length fragment frames, a client can make the driver store a growing array of zero-length `Buffer` objects in memory, eventually causing it to run out of heap space.\n\nThis has been mitigated by discarding zero-length fragments when buffering, and by concatenating all received buffers when the number received reaches a certain amount, specifically 1,000,000. websocket-driver does not concatenate buffers on every received frame as this would result in O(n²) time to process a series of frame fragments, as all the data received so far would need to be copied for each new fragment. websocket-driver now compacts the buffer _only if it hits a certain size_ to avoid the buffer array becoming too large.\n\n### Impact\n\nA WebSocket server can be made to run out of memory and crash by an unauthenticated remote attacker opening a single connection and sending an indefinite stream of message fragments over it.","status":"published","published":"2026-12-01T19:12:33Z","modified":"2026-12-01T19:12:36Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-12-01T19:30:53.142897Z"}],"nvd":[{"id":"CVE-2026-140001","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.","status":"published","published":"2026-11-30T22:17:29.533Z","modified":"2026-12-04T15:47:41.367Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400","CWE-770"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-01"},"updated_at":"2026-12-01T14:20:25.638744Z"}],"osv":[{"id":"CVE-2026-140001","title":"websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames","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.","status":"published","published":"2026-11-30T21:21:35.022Z","modified":"2026-12-02T20:46:10.584637404Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-12-01T21:10:07.386688Z"},{"id":"DEBIAN-CVE-2026-140001","upstream":["CVE-2026-140001"],"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.","status":"published","published":"2026-11-30T22:17:29.533Z","modified":"2026-12-03T08:00:10.46626766Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-03T08:14:48.000137Z"},{"id":"DHI-fvo6-zcba-4xkc-dyjr","upstream":["CVE-2026-140001"],"title":"websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, the…","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.","status":"published","published":"2026-12-01T21:53:49Z","modified":"2026-12-04T08:30:09.076547991Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-04T08:34:14.203759Z"},{"id":"GHSA-7487-9gcw-9w8w","title":"websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames","description":"### Summary\n\nA server accepting WebSocket connections using `websocket-driver` can be made to run out of memory by a client sending an indefinite stream of zero-length fragmented message frames.\n\n### Details\n\nThe WebSocket protocol allows messages to be delivered as a series of \"fragment\" frames. `websocket-driver` buffers all the individual fragments it receives and then concatenates them all when the final fragment is received. By sending a stream of zero-length fragment frames, a client can make the driver store a growing array of zero-length `Buffer` objects in memory, eventually causing it to run out of heap space.\n\nThis has been mitigated by discarding zero-length fragments when buffering, and by concatenating all received buffers when the number received reaches a certain amount, specifically 1,000,000. websocket-driver does not concatenate buffers on every received frame as this would result in O(n²) time to process a series of frame fragments, as all the data received so far would need to be copied for each new fragment. websocket-driver now compacts the buffer _only if it hits a certain size_ to avoid the buffer array becoming too large.\n\n### Impact\n\nA WebSocket server can be made to run out of memory and crash by an unauthenticated remote attacker opening a single connection and sending an indefinite stream of message fragments over it.","status":"published","published":"2026-12-01T19:12:33Z","modified":"2026-12-01T19:30:03.38304556Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-12-01T19:35:17.719553Z"},{"id":"AZL-117520","upstream":["CVE-2026-140001"],"title":"CVE-2026-140001 affecting package js-jquery 3.5.0-4","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.","status":"published","published":"2026-11-30T22:17:29Z","modified":"2026-12-03T14:17:29.370575692Z","updated_at":"2026-12-03T14:59:42.219217Z"},{"id":"AZL-117614","upstream":["CVE-2026-140001"],"title":"CVE-2026-140001 affecting package python-tensorboard 2.16.2-6","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.","status":"published","published":"2026-11-30T22:17:29Z","modified":"2026-12-03T14:17:43.548681796Z","updated_at":"2026-12-03T14:59:42.219217Z"},{"id":"CLSA-2026-1796199359","upstream":["CVE-2026-140001","CVE-2026-140002","CVE-2026-140003","CVE-2026-140004","CVE-2026-140005"],"title":"TuxCare security update for websocket-driver (5 CVEs)","description":"TuxCare rebuilt websocket-driver to address 5 CVEs. Fixed in 0.7.5-tuxcare.3.","status":"published","published":"2026-12-02T09:16:00Z","modified":"2026-12-04T08:15:19.204575687Z","updated_at":"2026-12-04T08:34:17.918856Z"},{"id":"CLSA-2026-1796206185","upstream":["CVE-2026-140001","CVE-2026-140002","CVE-2026-140003","CVE-2026-140004","CVE-2026-140005"],"title":"TuxCare security update for websocket-driver (5 CVEs)","description":"TuxCare rebuilt websocket-driver to address 5 CVEs. Fixed in 0.7.4-tuxcare.3.","status":"published","published":"2026-12-02T11:09:46Z","modified":"2026-12-04T16:30:11.574875224Z","updated_at":"2026-12-04T16:47:54.354282Z"},{"id":"CLSA-2026-1796226468","upstream":["CVE-2026-140001","CVE-2026-140002"],"title":"TuxCare security update for websocket-driver (2 CVEs)","description":"TuxCare rebuilt websocket-driver to address 2 CVEs. Fixed in 0.6.5-tuxcare.3.","status":"published","published":"2026-12-02T16:47:49Z","modified":"2026-12-03T12:15:06.857807694Z","updated_at":"2026-12-03T12:23:46.433517Z"}]}}
