{"cve":"CVE-2016-10518","nvd":{"published":"2018-05-31T20:29:00.503","modified":"2026-06-17T00:39:50.267","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-119","CWE-201"],"references":["https://gist.github.com/c0nrad/e92005446c480707a74a","https://github.com/websockets/ws/releases/tag/1.0.1","https://nodesecurity.io/advisories/67","https://gist.github.com/c0nrad/e92005446c480707a74a","https://github.com/websockets/ws/releases/tag/1.0.1"],"products":["ws_project:ws"],"source":"nvd","synced_at":"2026-10-19T20:50:40.212176939+00:00"},"epss":{"cve":"CVE-2016-10518","score":0.01984,"percentile":0.80583,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2mhh-w6q8-5hxw","url":"https://osv.dev/vulnerability/GHSA-2mhh-w6q8-5hxw","summary":"Remote Memory Disclosure in ws","modified":"2023-11-08T03:58:10.113790Z","packages":[{"ecosystem":"npm","name":"ws","purl":"pkg:npm/ws","ranges":["<1.0.1"],"fixed":["1.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}