Intel

AIKIDO-2025-10016

phrity/websocket is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

25

Low Risk

This Affects:

PHPphrity/websocket
1.7.0 - 3.2.0
Fixed in 3.2.1

TL;DR

New connections to a server managed by the phrity/websocket library have a small but intermittent chance of causing the server to enter an infinite loop. This results in 100% CPU usage and blocks all server operations, including handling both new and existing connections. The server remains unresponsive until it is manually restarted or a timeout handler is implemented and triggered. This issue occurs only during the processing of new connections and does not affect connections that are already established.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

phrity/websocket is vulnerable to Denial of Service (DoS) in versions 1.7.0 - 3.2.0.

How to fix this

Upgrade the phrity/websocket library to the patch version.