{"schema_version":"1.9.0","id":"CVE-2025-5399","published":"2025-06-07T07:49:09.370Z","modified":"2026-08-12T03:51:48.416956340Z","aliases":["CURL-CVE-2025-5399"],"related":["ALSA-2025:15699","ALSA-2025:16046","SUSE-SU-2025:03198-1","SUSE-SU-2025:20675-1","openSUSE-SU-2025:15213-1"],"summary":"WebSocket endless loop","details":"Due to a mistake in libcurl's WebSocket code, a malicious server can send a\nparticularly crafted packet which makes libcurl get trapped in an endless\nbusy-loop.\n\nThere is no other way for the application to escape or exit this loop other\nthan killing the thread/process.\n\nThis might be used to DoS libcurl-using application.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"1c3149881769e7bd79b072e48374e4c2b3678b2f"},{"fixed":"fdb8a789d2b446b77bd7cdd2eff95f6cbc814cf4"}],"database_specific":{"cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.13.0"},{"fixed":"8.14.1"}],"source":"CPE_RANGE"}}],"versions":["curl-8_14_0","curl-8_13_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5399.json"}}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/2"},{"type":"WEB","url":"https://curl.se/docs/CVE-2025-5399.html"},{"type":"WEB","url":"https://curl.se/docs/CVE-2025-5399.json"},{"type":"WEB","url":"https://hackerone.com/reports/3168039"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5399.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5399"}],"database_specific":{"cna_assigner":"curl","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5399.json","unresolved_ranges":[{"extracted_events":[{"introduced":"8.14.0"},{"last_affected":"8.14.0"},{"introduced":"8.13.0"},{"last_affected":"8.13.0"}],"source":"AFFECTED_FIELD"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}