# CVE-2016-10518

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-05-31 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2016-10518, DEBIAN-CVE-2016-10518, GHSA-2mhh-w6q8-5hxw
- Record: https://cvemate.com/vulnerability/CVE-2016-10518 · JSON: https://cvemate.com/vulnerability/CVE-2016-10518/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.947%, percentile 80.91%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian node-ws (Debian): \< 1.0.1+ds1.e6ddaae4-1
- ubuntu node-ws (Ubuntu): \< 1.0.1+ds1.e6ddaae4-1
- hackerone ws node module: ≤ 1.0.0
- Npm ws (Npm): \< 1.0.1
- ws\_project ws: \< 1.0.1

## References

- <https://github.com/websockets/ws/releases/tag/1.0.1>
- <https://nodesecurity.io/advisories/67>
- <https://gist.github.com/c0nrad/e92005446c480707a74a>
- <https://ubuntu.com/security/CVE-2016-10518>
- <https://www.cve.org/CVERecord?id=CVE-2016-10518>
- <https://security-tracker.debian.org/tracker/CVE-2016-10518>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-10518>
- <https://github.com/websockets/ws/commit/29293ed11b679e0366fa0f6bb9310b330dafd795>
- <https://github.com/advisories/GHSA-2mhh-w6q8-5hxw>
- <https://www.npmjs.com/advisories/67>

---

Data as of 2026-12-05T05:17:30.792Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
