7.5high
WebSocket endless loop
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.44% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- curl
- Also known as
- CURL-CVE-2025-5399
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
| Product or package | Versions | Reported by |
|---|---|---|
| curl curl | from 8.14.0 up to 8.14.0, from 8.13.0 up to 8.13.0 | CVE List |
| https://github.com/curl/curl.git | from 8.13.0 before 8.14.1, from 3588df9478d7c27046b34cdb510728a26bedabc7 before d1145df24de8f80e6b167fbc4f28b86bcd0c6832 | curl |
| haxx curl | from 8.13.0 before 8.14.1 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| curl | low rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Debido a un error en el código WebSocket de libcurl, un servidor malicioso puede enviar un paquete especialmente manipulado que atrapa a libcurl en un bucle de actividad sin fin. La aplicación no tiene otra forma de escapar de este bucle que cerrar el hilo/proceso. Esto podría usarse para atacar a la aplicación que usa libcurl.
References
| https://curl.se/docs/CVE-2025-5399.json | vendor-advisory | |
| https://curl.se/docs/CVE-2025-5399.html | vendor-advisory | |
| https://hackerone.com/reports/3168039 | exploit, issue-tracking, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2025/06/04/2 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-5399 changed 2025-06-09 | CVE Terms of Use |
| curl | CURL-CVE-2025-5399 changed 2026-10-25 | MIT |
| NVD | CVE-2025-5399 changed 2026-06-17 | Public domain |