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. 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.
References
Link Resource
https://curl.se/docs/CVE-2025-5399.html Vendor Advisory
https://curl.se/docs/CVE-2025-5399.json 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
Configurations

Configuration 1 (hide)

cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*

History

30 Jul 2025, 19:41

Type Values Removed Values Added
CPE cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
First Time Haxx
Haxx curl
CWE CWE-835
References () https://curl.se/docs/CVE-2025-5399.html - () https://curl.se/docs/CVE-2025-5399.html - Vendor Advisory
References () https://curl.se/docs/CVE-2025-5399.json - () https://curl.se/docs/CVE-2025-5399.json - Vendor Advisory
References () https://hackerone.com/reports/3168039 - () https://hackerone.com/reports/3168039 - Exploit, Issue Tracking, Third Party Advisory
References () http://www.openwall.com/lists/oss-security/2025/06/04/2 - () http://www.openwall.com/lists/oss-security/2025/06/04/2 - Mailing List, Third Party Advisory

09 Jun 2025, 14:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
Summary
  • (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.

07 Jun 2025, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-07 08:15

Updated : 2025-07-30 19:41


NVD link : CVE-2025-5399

Mitre link : CVE-2025-5399

CVE.ORG link : CVE-2025-5399


JSON object : View

Products Affected

haxx

  • curl
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')