# CVE-2025-5399: WebSocket endless loop

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-04T08:00:00.000Z
- Modified: 2026-10-25T01:04:36.094Z
- Also known as: CURL-CVE-2025-5399
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: curl

## 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.

(As written by CVE List.)

## Affected

- curl curl: from 8.14.0 up to 8.14.0; from 8.13.0 up to 8.13.0
- https://github.com/curl/curl.git: from 8.13.0 before 8.14.1; from 3588df9478d7c27046b34cdb510728a26bedabc7 before d1145df24de8f80e6b167fbc4f28b86bcd0c6832
- haxx curl: from 8.13.0 before 8.14.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- curl: rating Low

## References

- <https://hackerone.com/reports/3168039> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2025-5399.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2025-5399.html> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2025/06/04/2> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-5399](https://www.cve.org/CVERecord?id=CVE-2025-5399), CVE Terms of Use, modified 2025-06-09
- curl: [CURL-CVE-2025-5399](https://osv.dev/vulnerability/CURL-CVE-2025-5399), MIT, modified 2026-10-25
- NVD: [CVE-2025-5399](https://nvd.nist.gov/vuln/detail/CVE-2025-5399), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5399 · Whole record: https://cve.day/CVE-2025-5399.json · Rebuilt by cve.day 2026-11-25T22:58:58.905Z
