Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-48779
Published:June 16, 2026
Updated:August 04, 2026
ws is an open source WebSocket client and server for Node.js. All versions from 1.1.0 up to (but not including) 5.2.5, from 6.0.0 up to 6.2.4, from 7.0.0 up to 7.5.11, and from 8.0.0 up to 8.21.0 are affected by a memory exhaustion DoS vulnerability. A peer can send a high volume of exceptionally small fragments and data chunks, with modest network traffic, to force the remote peer into allocating and holding structural wrappers that consume far more memory than the default documented message-size limit, leading to process termination due to OOM. This issue has been fixed in versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0.
Affected Packages
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=6.0.0 <6.2.4
Fix Suggestion:
Update to version 6.2.4
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=7.0.0 <7.5.11
Fix Suggestion:
Update to version 7.5.11
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=8.0.0 <8.21.0
Fix Suggestion:
Update to version 8.21.0
https://github.com/websockets/ws.git (GITHUB):
Affected version(s) >=1.1.0 <5.2.5
Fix Suggestion:
Update to version 5.2.5
ws (NPM):
Affected version(s) >=7.0.0 <7.5.11
Fix Suggestion:
Update to version 7.5.11
ws (NPM):
Affected version(s) >=6.0.0 <6.2.4
Fix Suggestion:
Update to version 6.2.4
ws (NPM):
Affected version(s) >=8.0.0 <8.21.0
Fix Suggestion:
Update to version 8.21.0
ws (NPM):
Affected version(s) >=1.1.0 <5.2.5
Fix Suggestion:
Update to version 5.2.5
Related Resources (29)
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)
Uncontrolled Resource Consumption
Allocation of Resources Without Limits or Throttling
Excessive Platform Resource Consumption within a Loop
EPSS
Base Score:
0.78