High severity · published Jun 7, 2025
CVE-2025-5399
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
7.5
CVSS
1.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CU
Curl · Haxx
8.13.0 before 8.14.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-5399
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5399
Vendor Advisory
https://curl.se/docs/CVE-2025-5399.html
Vendor Advisory
https://curl.se/docs/CVE-2025-5399.json
Exploit
https://hackerone.com/reports/3168039
Mailing List
http://www.openwall.com/lists/oss-security/2025/06/04/2
More from Curl
9.8
CVE-2026-19931
Negotiate ambient user conn reuse
9.8
CVE-2026-9079
stale proxy password leak
9.8
CVE-2026-8925
SASL double-free
9.8
CVE-2026-11856
cross-origin Digest auth state leak
9.8
CVE-2026-10536
HTTP/2 stream-dependency tree UAF
