Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-ja5c-kd68-67f3
Vulnerability ID VCID-ja5c-kd68-67f3
Aliases CVE-2016-10518
GHSA-2mhh-w6q8-5hxw
Summary Improper Restriction of Operations within the Bounds of a Memory Buffer 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.
Status Published
Exploitability 0.5
Weighted Severity 2.7
Risk 1.4
Affected and Fixed Packages Package Details
Weaknesses (4)
No exploits are available.
Exploit Prediction Scoring System (EPSS)
Percentile 0.57288
EPSS Score 0.00345
Published At May 30, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-05-30T20:54:50.288548+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ws/CVE-2016-10518.yml 38.6.0