CVE-2026-140009: websockets ws · Uncontrolled Resource Consumption
Affects websockets wsSource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 8.23.0 : patch websockets ws soon.
Data as of 30 Nov 2026, 22:02 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 8.23.0, 7.5.14, 6.2.7 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade websockets ws to 8.23.0, 7.5.14, 6.2.7 or 5.2.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| websocketsws | Affected
| Fixed in
|
| websocketsws | Affected
| Fixed in
|
| websocketsws | Affected
| Fixed in
|
| websocketsws | Affected
| Fixed in
|
AI-suggested
Upgrade to ws versions 5.2.8, 6.2.7, 7.5.14, or 8.23.0 where this issue is fixed. Alternatively, disable the autoPong feature if available or implement rate limiting combined with heartbeat mechanisms to mitigate the risk of resource exhaustion.
Description
The ws library for Node.js versions prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0 contains a vulnerability where a malicious WebSocket peer can cause uncontrolled resource consumption by sending Ping frames while stopping reads. This triggers the generation and buffering of automatic Pong responses without limits, potentially exhausting process memory and terminating the application. The issue is fixed in the specified versions.
References
- github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr (opens in a new tab)
- github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1 (opens in a new tab)
- github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe (opens in a new tab)
- github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7 (opens in a new tab)
- github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63 (opens in a new tab)