CVEfocus › CVE database › CVE-2025-5399

CVE-2025-5399WebSocket endless loop

CVSS 7.5 HighEPSS 1.7% (higher than 77% of CVEs)Published 2025-06-07Updated 2025-06-09Assigner: curl

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Rocky Linux: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

28Fixed
58Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04curlNot affected
vulnerable_code_not_present
Ubuntu 22.04curlNot affected
vulnerable_code_not_present
Debian 14curlFixed8.14.1-1DEBIAN-CVE-2025-5399
Debian 13curlFixed8.14.1-1DEBIAN-CVE-2025-5399
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10curlNot affected
Red Hat Enterprise Linux 10libcurlNot affected
Red Hat Enterprise Linux 10libcurl-develNot affected
Red Hat Enterprise Linux 10libcurl-minimalNot affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 10snphostNot affected
Red Hat Enterprise Linux 10trustee-guest-componentsNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat Enterprise Linux 9curl-minimalNot affected
Red Hat Enterprise Linux 9libcurlNot affected
Red Hat Enterprise Linux 9libcurl-develNot affected
Red Hat Enterprise Linux 9libcurl-minimalNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9snphostNot affected
Red Hat Enterprise Linux 9trustee-guest-componentsNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 8libcurlNot affected
Red Hat Enterprise Linux 8libcurl-develNot affected
Red Hat Enterprise Linux 8libcurl-minimalNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 7libcurlNot affected
Red Hat Enterprise Linux 7libcurl-develNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 6libcurlNot affected
Red Hat Enterprise Linux 6libcurl-develNot affected
AlmaLinux 10mysql-selinuxFixed1.0.14-1.el10_0ALSA-2025:15699
AlmaLinux 10mysql8.4-commonFixed8.4.6-2.el10_0ALSA-2025:15699
AlmaLinux 10mysql8.4-errmsgFixed8.4.6-2.el10_0ALSA-2025:15699
AlmaLinux 10mysql8.4-test-dataFixed8.4.6-2.el10_0ALSA-2025:15699
AlmaLinux 9mecabFixed0.996-3.module_el9.6.0+152+8cbce00c.4ALSA-2025:16046
AlmaLinux 9mecab-develFixed0.996-3.module_el9.6.0+152+8cbce00c.4ALSA-2025:16046
AlmaLinux 9mecab-ipadicFixed2.7.0.20070801-24.module_el9.6.0+152+8cbce00cALSA-2025:16046
AlmaLinux 9mecab-ipadic-EUCJPFixed2.7.0.20070801-24.module_el9.6.0+152+8cbce00cALSA-2025:16046
AlmaLinux 9mysqlFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-commonFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-develFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-errmsgFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-libsFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-serverFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-testFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9mysql-test-dataFixed8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux 9rapidjson-develFixed1.1.0-19.module_el9.6.0+152+8cbce00cALSA-2025:16046
AlmaLinux 9rapidjson-docFixed1.1.0-19.module_el9.6.0+152+8cbce00cALSA-2025:16046
Rocky Linux 10mysql-selinuxFixed0:1.0.14-1.el10_0RLSA-2025:15699
Rocky Linux 10mysql8.4Fixed0:8.4.6-2.el10_0RLSA-2025:15699
Alpine Linux 3.24curlFixed8.14.1-r0ALPINE-CVE-2025-5399
Alpine Linux 3.23curlFixed8.14.1-r0ALPINE-CVE-2025-5399
Alpine Linux 3.22curlFixed8.14.1-r0ALPINE-CVE-2025-5399
Alpine Linux 3.21curlFixed8.14.1-r0ALPINE-CVE-2025-5399
Alpine Linux 3.20curlFixed8.14.1-r0ALPINE-CVE-2025-5399
Alpine Linux 3.19curlFixed8.14.1-r0ALPINE-CVE-2025-5399

What the vendor says

As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.