CVE-2026-140009: ws: Memory exhaustion DoS via unbounded automatic pong responses
Vulnerability summary
CVE-2026-140009 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in websockets ws. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 56.9% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard61 products
- airflow-2All versions (No fix recorded)
- arangodb-3.11All versions (No fix recorded)
- arangodb-3.12All versions (No fix recorded) | < 3.12.14-r4
- browsertimeAll versions (No fix recorded)
- code-serverAll versions (No fix recorded) | < 4.145.2-r4
Wolfi5 products
- code-serverAll versions (No fix recorded) | < 4.145.2-r4
- kubeflow-pipelines-frontendAll versions (No fix recorded) | < 2.18.2-r1
- langfuse-3All versions (No fix recorded) | < 3.227.1-r5
- langfuse-3-workerAll versions (No fix recorded) | < 3.227.1-r5
- opensearch-dashboards-3-dashboards-observabilityAll versions (No fix recorded) | < 3.10.0-r2
Debian1 product
- node-wsAll versions (No fix recorded)
Npm1 product
- ws< 5.2.8 | ≥ 6.0.0, < 6.2.7 | ≥ 7.0.0, < 7.5.14 | ≥ 8.0.0, < 8.23.0
Websockets1 product
- ws< 5.2.8 | ≥ 6.0.0, < 6.2.7 | ≥ 7.0.0, < 7.5.14 | ≥ 8.0.0, < 8.23.0
5 vendors · 69 products
References
13 links- github.com/websockets/wsPACKAGE