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.
{ "CWE": { "desc": "Loop with Unreachable Exit Condition ('Infinite Loop')", "id": "CWE-835" }, "package": "curl", "www": "https://curl.se/docs/CVE-2025-5399.html", "severity": "Low", "affects": "lib", "URL": "https://curl.se/docs/CVE-2025-5399.json", "award": { "currency": "USD", "amount": "505" }, "last_affected": "8.14.0", "issue": "https://hackerone.com/reports/3168039" }