CVE-2026-140009highCWE-400CWE-770

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 · ws
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.