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.

Product
ws
Systems
macOSWindowsLinux
Fixed in
5.2.86.2.77.5.148.23.0
CVSS
7.5
Weakness
CWE-400CWE-770
Source
Get the fix in Telegram

Am 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

PackageEcosystemAffectedFixed in
wsother<5.2.85.2.8
wsother>=6.0.0, <6.2.76.2.7
wsother>=7.0.0, <7.5.147.5.14
wsother>=8.0.0, <8.23.08.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.