What’s Vulnerable › Vulnerabilities

CVE-2025-5399: WebSocket endless loop

Description

Due to a mistake in libcurl's WebSocket code, a malicious server can send a particularly crafted packet which makes libcurl get trapped in an endless busy-loop. There is no other way for the application to escape or exit this loop other than killing the thread/process. This might be used to DoS libcurl-using application.

Affected products

How to fix

Upgrade to a fixed version: curl 8.14.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-5399 or the next vulnerability affects your stack