CVE-2026-140009
HIGH 7.5CVSS 3.1ws: Memory exhaustion DoS via unbounded automatic pong responses
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.
- Published
- 30 Nov 2026
- Last modified
- 4 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-37g9-w4hg-h9qr
- Sources
- NVDJSONCVE ListJSONOSV GHSA-37g9-w4hg-h9qrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | websockets | ws | = < 5.2.8; = >= 6.0.0, < 6.2.7; = >= 7.0.0, < 7.5.14; = >= 8.0.0, < 8.23.0 | |
| OSV | npm | ws | < 5.2.8 | 5.2.8 |
| OSV | npm | ws | >= 6.0.0, < 6.2.7 | 6.2.7 |
| OSV | npm | ws | >= 7.0.0, < 7.5.14 | 7.5.14 |
| OSV | npm | ws | >= 8.0.0, < 8.23.0 | 8.23.0 |
References
- https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1 · x_refsource_MISC, WEB
- https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe · x_refsource_MISC, WEB
- https://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7 · x_refsource_MISC, WEB
- https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63 · x_refsource_MISC, WEB
- https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140009 · ADVISORY
- https://github.com/websockets/ws · PACKAGE
- https://github.com/websockets/ws/releases/tag/5.2.8 · WEB
- https://github.com/websockets/ws/releases/tag/6.2.7 · WEB
- https://github.com/websockets/ws/releases/tag/7.5.14 · WEB
- https://github.com/websockets/ws/releases/tag/8.23.0 · WEB
History
- 4 Dec 2026 17:09 UTC · NVD: status Received → Awaiting Analysis
- 1 Dec 2026 18:39 UTC · OSV: first stored (published 1 Dec 2026)
- 1 Dec 2026 14:27 UTC · NVD: updated (other details)
- 1 Dec 2026 14:04 UTC · CVE List: updated (other details)
- 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 21:58 UTC · CVE List: first stored (published 30 Nov 2026)