High severity · published May 31, 2018
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"
7.5
CVSS
7.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)7.4% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WS
WS · WS Project
through 1.1.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-10542
CVE.org
https://www.cve.org/CVERecord?id=CVE-2016-10542
Issue Tracking
https://github.com/nodejs/node/issues/7388
Third Party Advisory
https://nodesecurity.io/advisories/120
More from WS
7.5
CVE-2026-48779
ws: Memory exhaustion DoS from tiny fragments and data chunks
7.5
CVE-2026-45736
ws: Uninitialized memory disclosure
7.5
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
5.3
CVE-2021-32640
ws is an open source WebSocket client and server library for Node.js
