{"id":"CVE-2025-5399","aliases":["CVE-2025-5399","CURL-CVE-2025-5399"],"related":[],"kind":"vulnerability","state":"published","title":"WebSocket endless loop","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-06-04T08:00:00.000Z","modified":"2026-10-25T01:04:36.094Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"curl","scheme":"rating","rating":"LOW"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"8.14.0","lastAffected":"8.14.0","status":"affected"},{"type":"semver","introduced":"8.13.0","lastAffected":"8.13.0","status":"affected"}],"vendor":"curl","product":"curl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"8.13.0","status":"affected","fixed":"8.14.1"},{"type":"git","introduced":"3588df9478d7c27046b34cdb510728a26bedabc7","status":"affected","fixed":"d1145df24de8f80e6b167fbc4f28b86bcd0c6832"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","introduced":"8.13.0","fixed":"8.14.1"}],"vendor":"haxx","product":"curl","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://curl.se/docs/CVE-2025-5399.json","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://curl.se/docs/CVE-2025-5399.html","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://hackerone.com/reports/3168039","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/06/04/2","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["z2_ on hackerone"],"assigner":"curl","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-06-09T13:20:18.342Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5399","url":"https://www.cve.org/CVERecord?id=CVE-2025-5399","licence":"CVE Terms of Use","modified":"2025-06-09T13:20:29.843Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2025-5399","url":"https://osv.dev/vulnerability/CURL-CVE-2025-5399","licence":"MIT","modified":"2026-10-25T01:04:36.094Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5399","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5399","licence":"Public domain","modified":"2026-06-17T09:47:50.807Z"}],"updatedAt":"2026-11-25T22:58:58.905Z","epss":{"score":0.01435,"percentile":0.73886,"date":"2026-12-01T12:00:22.000Z"}}