Vendorsws Projectwsall versions
Vulnerabilities

ws Project ws

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

5CVEs
CVE-2016-10542
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.
Published 2018-05-31 · Modified
7.5EPSS 0.075
CVE-2016-10518
A vulnerability was found in the ping functionality of the ws module before 1.0.0 which allowed clients to allocate memory by sending a ping frame. The ping functionality by default responds with a pong frame and the previously given payload of the ping frame. This is exactly what you expect, but internally ws always transforms all data that we need to send to a Buffer instance and that is where the vulnerability existed. ws didn't do any checks for the type of data it was sending. With buffers in node when you allocate it when a number instead of a string it will allocate the amount of bytes.
Published 2018-05-31 · Modified
7.5EPSS 0.020
CVE-2026-48779
ws: Memory exhaustion DoS from tiny fragments and data chunks
Published 2026-06-16 · Modified
7.5EPSS 0.009
CVE-2026-45736
ws: Uninitialized memory disclosure
Published 2026-05-15 · Modified
7.5EPSS 0.007
CVE-2021-32640
ReDoS in Sec-Websocket-Protocol header
Published 2021-05-25 · Modified
5.3EPSS 0.028