{"id":"CVE-2016-10542","aliases":["CLSA-2026-1784596294","DEBIAN-CVE-2016-10542","EUVD-2019-0237","GHSA-6663-c963-2gqg","UBUNTU-CVE-2016-10542"],"status":"published","title":"DoS due to excessively large websocket message in ws","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.07287,"percentile":0.94405,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-400"],"published":"2018-05-31T20:00:00Z","modified":"2026-10-24T10:45:39Z","exploits":[{"source":"metasploit","id":"auxiliary/dos/http/ws_dos","title":"ws - Denial of Service","type":"auxiliary","verified":true,"url":"https://www.rapid7.com/db/modules/auxiliary/dos/http/ws_dos"}],"fixes":[{"ecosystem":"npm","package":"ws","fixed_in":["1.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"ws","fixed_in":["0.8.1-tuxcare.2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"node-ws","fixed_in":["1.1.0+ds1.e6ddaae4-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-ws","fixed_in":["1.1.0+ds1.e6ddaae4-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-ws","fixed_in":["1.1.0+ds1.e6ddaae4-5"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.1-tuxcare.0"},{"fixed":"0.8.1-tuxcare.2"}]}],"versions":["0.8.1","0.8.1-tuxcare.1"]},{"source":"osv","ecosystem":"Debian:12","package":"node-ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+ds1.e6ddaae4-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+ds1.e6ddaae4-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+ds1.e6ddaae4-5"}]}]},{"source":"osv","ecosystem":"npm","package":"ws","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"node-ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.2+ds1.349b7460-1","1.0.1+ds1.e6ddaae4-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-ws","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0+ds1.e6ddaae4-3build1","1.1.0+ds1.e6ddaae4-3ubuntu1"]}],"products":[{"vendor":"hackerone","product":"ws node module"},{"vendor":"ws_project","product":"ws"}],"references":[{"url":"https://github.com/nodejs/node/issues/7388","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nodesecurity.io/advisories/120","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10542","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6663-c963-2gqg","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/120","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10542","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10542","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10542","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-10542","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","status":"published","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T04:03:37.757Z","cwes":["CWE-400"],"updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0237","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","status":"published","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T04:03:37Z","updated_at":"2026-11-03T00:28:26.623918Z"}],"ghsa":[{"id":"GHSA-6663-c963-2gqg","title":"DoS due to excessively large websocket message in ws","description":"Affected versions of `ws` do not appropriately limit the size of incoming websocket payloads, which may result in a denial of service condition when the node process crashes after receiving a large payload.\n\n\n\n## Recommendation\n\nUpdate to version 1.1.1 or later. \nAlternatively, set the `maxpayload` option for the `ws` server to a value smaller than 256MB.","status":"published","published":"2019-02-18T23:58:35Z","modified":"2023-01-09T05:02:43Z","cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:03.768255Z"}],"nvd":[{"id":"CVE-2016-10542","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","status":"published","published":"2018-05-31T20:29:01.55Z","modified":"2026-06-17T00:39:54.447Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400","CWE-20"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-10542","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","status":"published","published":"2018-05-31T20:29:01.55Z","modified":"2026-10-24T10:45:39.50442289Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-10542","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","status":"published","published":"2018-05-31T20:29:01.55Z","modified":"2026-09-22T07:01:22.761639171Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-10542","description":"ws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.","status":"published","published":"2018-05-31T20:29:00Z","modified":"2025-10-24T04:46:00Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"CLSA-2026-1784596294","title":"TuxCare security update for ws (1 CVE)","description":"TuxCare rebuilt ws to address 1 CVE. Fixed in 0.8.1-tuxcare.2.","status":"published","published":"2026-08-04T14:52:45Z","modified":"2026-10-15T09:47:54.094032888Z","updated_at":"2026-11-02T15:43:46.482572Z"},{"id":"GHSA-6663-c963-2gqg","title":"DoS due to excessively large websocket message in ws","description":"Affected versions of `ws` do not appropriately limit the size of incoming websocket payloads, which may result in a denial of service condition when the node process crashes after receiving a large payload.\n\n\n\n## Recommendation\n\nUpdate to version 1.1.1 or later. \nAlternatively, set the `maxpayload` option for the `ws` server to a value smaller than 256MB.","status":"published","published":"2019-02-18T23:58:35Z","modified":"2023-11-08T03:58:11.580073Z","cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
