All reports
High

DoS due to excessively large websocket message in ws

Affected versions

npmws
Affected versions
< 1.1.1
Fixed version
1.1.1

Exploitation

CVE-2016-10542

Probability of exploitation in the next 30 days: 7.29%

FIRST EPSS · 2026-11-22

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.

Recommendation

Update to version 1.1.1 or later. Alternatively, set the maxpayload option for the ws server to a value smaller than 256MB.

Links