High
ws WebSocket library denial of service via queued Pong frames
A malicious WebSocket peer can send Ping frames while reads are stopped, making ws buffer automatic Pong responses without a limit. The queued frames exhaust process memory and crash the application.
5.2.86.2.77.5.148.23.0Am I affected?
You are affected if the installed version is older than the fixed version of its release line: 5.2.8, 6.2.7, 7.5.14, 8.23.0. Check the version you have and update to the fixed version of your line or later. The fixed versions are verified against a vendor or advisory source.
Affected software and versions
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
ws | other | <5.2.8 | 5.2.8 |
ws | other | >=6.0.0, <6.2.7 | 6.2.7 |
ws | other | >=7.0.0, <7.5.14 | 7.5.14 |
ws | other | >=8.0.0, <8.23.0 | 8.23.0 |
A fixed version is shown only when it is verified against a vendor or advisory source.
Who should check
Any Node.js app using the ws package on macOS, Windows, or Linux: versions below 5.2.8, 6.x below 6.2.7, 7.x below 7.5.14, and 8.x below 8.23.0.
Expected outcome after remediation
Report which ws versions were found, whether each was affected, and confirm ws is now at the fixed version with the app restarted.
Get the fix
FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5338 and your operating system.