CVE-2026-140009: high-severity vulnerability in websockets ws
ws: Memory exhaustion DoS via unbounded automatic pong responses
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 7.5epss 0.8%
from disclosure to weapon2 days
Published on NVDNov 30
1st PoC+2d
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
websockets · wspublic PoCs found — 1
githubgithub.com/googlesky/CVE-2026-140009★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — websockets ws
In the same product, most dangerous first.
CVE-2021-32640MEDIUMReDoS in Sec-Websocket-Protocol headerEPSS 2.9%CVE-2026-48779HIGHws: Memory exhaustion DoS from tiny fragments and data chunksEPSS 1.4%CVE-2024-37890HIGHDenial of service when handling a request with many HTTP headers in wsEPSS 1.4%CVE-2026-45736MEDIUMws: Uninitialized memory disclosureEPSS 0.7%
References
https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfehttps://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr