Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-10518

A vulnerability was found in the ping functionality of the ws module b ...

Overview

Published
31 May 2018
Modified
17 Jun 2026
High CVE
1 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-201, CWE-119

Affected packages · 1

Packages affected by CVE-2016-10518
EcosystemPackageVulnerableFixed in
npm ws <1.0.1 1.0.1

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 4 releases · 1 package

fixed 4
node-ws
debian fixes for CVE-2016-10518
ReleasePackageFixed in
11 node-ws 1.0.1+ds1.e6ddaae4-1
12 node-ws 1.0.1+ds1.e6ddaae4-1
13 node-ws 1.0.1+ds1.e6ddaae4-1
14 node-ws 1.0.1+ds1.e6ddaae4-1

echo 1 release · 1 package

fixed 1
node-ws
echo fixes for CVE-2016-10518
ReleasePackageFixed in
node-ws 1.0.1+ds1.e6ddaae4-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.