Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-140009
Published:November 30, 2026
Updated:December 01, 2026
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.
Affected Packages
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=v0.2.0 <5.2.8 || >=0.4.32 <5.2.8 || >=1.0.0 <5.2.8 || >=2.0.0-beta.0 <5.2.8 || >=2.0.0 <5.2.8 || >=3.0.0 <5.2.8 || >=4.0.0 <5.2.8 || >=5.0.0 <5.2.8
Fix Suggestion:
Update to version 5.2.8
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=7.0.0 <7.5.14
Fix Suggestion:
Update to version 7.5.14
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=6.0.0 <6.2.7
Fix Suggestion:
Update to version 6.2.7
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=8.0.0 <8.23.0
Fix Suggestion:
Update to version 8.23.0
ws (NPM):
Affected version(s) >=7.0.0 <7.5.14
Fix Suggestion:
Update to version 7.5.14
ws (NPM):
Affected version(s) >=4.0.0 <5.2.8 || >=1.0.0 <5.2.8 || >=5.0.0 <5.2.8 || >=3.0.0 <5.2.8 || >=2.0.0 <5.2.8 || >=0.2.6 <5.2.8 || >=2.0.0-beta.0 <5.2.8
Fix Suggestion:
Update to version 5.2.8
ws (NPM):
Affected version(s) >=8.0.0 <8.23.0
Fix Suggestion:
Update to version 8.23.0
ws (NPM):
Affected version(s) >=6.0.0 <6.2.7
Fix Suggestion:
Update to version 6.2.7
ws (NPM):
Affected version(s) >=0.2.6 <5.2.8
Fix Suggestion:
Update to version 5.2.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
Uncontrolled Resource Consumption
EPSS
Base Score:
0.77