{"id":"CVE-2026-140009","aliases":["CVE-2026-140009"],"related":[],"kind":"vulnerability","state":"published","title":"ws: Memory exhaustion DoS via unbounded automatic pong responses","summary":"ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses without a pending-response bound. The queued Pong frames can exhaust process memory and terminate the application; disabling autoPong where available or combining rate limiting with heartbeats mitigates the issue. This issue is fixed in versions 5.2.8, 6.2.7, 7.5.14, and 8.23.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses without a pending-response bound. The queued Pong frames can exhaust process memory and terminate the application; disabling autoPong where available or combining rate limiting with heartbeats mitigates the issue. This issue is fixed in versions 5.2.8, 6.2.7, 7.5.14, and 8.23.0.","source":"cvelist"}],"published":"2026-11-30T21:38:55.376Z","modified":"2026-12-01T14:18:19.220Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 5.2.8","status":"affected"},{"version":">= 6.0.0, < 6.2.7","status":"affected"},{"version":">= 7.0.0, < 7.5.14","status":"affected"},{"version":">= 8.0.0, < 8.23.0","status":"affected"}],"vendor":"websockets","product":"ws","source":"cvelist"}],"references":[{"url":"https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-12-01T13:31:57.310Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140009","url":"https://www.cve.org/CVERecord?id=CVE-2026-140009","licence":"CVE Terms of Use","modified":"2026-12-01T13:54:41.633Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140009","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140009","licence":"Public domain","modified":"2026-12-01T14:18:19.220Z"}],"updatedAt":"2026-12-01T14:32:19.095Z","epss":{"score":0.00769,"percentile":0.5679,"date":"2026-12-01T12:00:22.000Z"}}