Home / websockets / ws / CVE-2026-140009
CVE-2026-140009: is it exploited, and which versions of websockets ws are affected and fixed?
CVE-2026-140009 is a denial of service (uncontrolled resource consumption) vulnerability in websockets ws. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: ws before 5.2.8, ws from 6.0.0 before 6.2.7, ws from 7.0.0 before 7.5.14 and 1 more (GitHub advisory GHSA-37g9-w4hg-h9qr). Fixed in 5.2.8, 6.2.7, 7.5.14 and 8.23.0 (GitHub advisory GHSA-37g9-w4hg-h9qr). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record December 1, 2026, 14:04 UTC and NVD December 1, 2026, 15:09 UTC.
What is CVE-2026-140009?
ws: 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.
From the CVE record by GitHub_M, last updated December 1, 2026, 13:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| websockets | ws | < 5.2.8 >= 6.0.0, < 6.2.7 >= 7.0.0, < 7.5.14 >= 8.0.0, < 8.23.0 |
As the CVE record by GitHub_M states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | ws | < 5.2.8 | 5.2.8 | GHSA-37g9-w4hg-h9qr |
| npm | ws | >= 6.0.0, < 6.2.7 | 6.2.7 | GHSA-37g9-w4hg-h9qr |
| npm | ws | >= 7.0.0, < 7.5.14 | 7.5.14 | GHSA-37g9-w4hg-h9qr |
| npm | ws | >= 8.0.0, < 8.23.0 | 8.23.0 | GHSA-37g9-w4hg-h9qr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: ws: Memory exhaustion DoS via unbounded automatic pong responses.
How severe is CVE-2026-140009?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-140009 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 1, 2026)
- EPSS
- 0.77% probability of exploitation activity in the next 30 days, percentile 56.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr x_refsource_CONFIRM
- https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1 x_refsource_MISC
- https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe x_refsource_MISC
- https://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7 x_refsource_MISC
- https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- November 30, 2026, 21:38 UTC
- CVE record updated
- December 1, 2026, 13:54 UTC by GitHub_M
- NVD
- Received, last modified December 1, 2026, 14:18 UTC
- Last checked
- CVE list December 1, 2026, 14:04 UTC; NVD December 1, 2026, 15:09 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ws?
- Jun 16, 2026CVE-2026-48779 websockets ws: denial of service (uncontrolled resource consumption)
- May 15, 2026CVE-2026-45736 websockets ws: use of uninitialized resource
- Jun 17, 2024CVE-2024-37890 websockets ws: NULL pointer dereference (crash)
- May 25, 2021CVE-2021-32640 websockets ws: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-140009
Is CVE-2026-140009 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.77% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of websockets ws are affected by CVE-2026-140009?
ws before 5.2.8, ws from 6.0.0 before 6.2.7, ws from 7.0.0 before 7.5.14 and ws from 8.0.0 before 8.23.0, per the GitHub advisory GHSA-37g9-w4hg-h9qr. The tables above give every range the sources list.
Which version fixes CVE-2026-140009?
5.2.8, 6.2.7, 7.5.14 and 8.23.0, per the GitHub advisory GHSA-37g9-w4hg-h9qr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-140009?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-140009?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.