CVE-2026-140009ws: Memory exhaustion DoS via unbounded automatic pong responses
- 7.5HighCVSS base score
- 0.77%Exploitation in 30 daysEPSS · top 43% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.77% · top 43% of all CVEs (4 Dec 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
websockets · ws
- affected < 5.2.8
- affected >= 6.0.0, < 6.2.7
- affected >= 7.0.0, < 7.5.14
- affected >= 8.0.0, < 8.23.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References5
- https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr (opens in a new tab)x_refsource_CONFIRM
- https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1 (opens in a new tab)x_refsource_MISC
- https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe (opens in a new tab)x_refsource_MISC
- https://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7 (opens in a new tab)x_refsource_MISC
- https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-139734 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-37g9-w4hg-h9qr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-140009)Record last updated .