# CVE-2026-140009: ws: Memory exhaustion DoS via unbounded automatic pong responses

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-11-30T21:38:55.376Z
- Modified: 2026-12-01T18:30:04.110Z
- Also known as: GHSA-37g9-w4hg-h9qr
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- websockets ws: < 5.2.8; >= 6.0.0, < 6.2.7; >= 7.0.0, < 7.5.14; >= 8.0.0, < 8.23.0
- ws (npm): before 5.2.8; from 6.0.0 before 6.2.7; from 7.0.0 before 7.5.14; from 8.0.0 before 8.23.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr> (web)
- <https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1> (web)
- <https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe> (web)
- <https://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7> (web)
- <https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63> (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)

## Sources

- CVE List: [CVE-2026-140009](https://www.cve.org/CVERecord?id=CVE-2026-140009), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-37g9-w4hg-h9qr](https://github.com/advisories/GHSA-37g9-w4hg-h9qr), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-140009](https://nvd.nist.gov/vuln/detail/CVE-2026-140009), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140009 · Whole record: https://cve.day/CVE-2026-140009.json · Rebuilt by cve.day 2026-12-01T18:47:13.283Z
