CVE-2025-5399
JSON

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 packageVersionsReported by
curl curlfrom 8.14.0 up to 8.14.0, from 8.13.0 up to 8.13.0CVE List
https://github.com/curl/curl.gitfrom 8.13.0 before 8.14.1, from 3588df9478d7c27046b34cdb510728a26bedabc7 before d1145df24de8f80e6b167fbc4f28b86bcd0c6832curl
haxx curlfrom 8.13.0 before 8.14.1NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
curllow rating

Classification

CWE-835

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

Sources

SourceRecordLicence
CVE ListCVE-2025-5399 changed 2025-06-09CVE Terms of Use
curlCURL-CVE-2025-5399 changed 2026-10-25MIT
NVDCVE-2025-5399 changed 2026-06-17Public domain