Skip to main content
Public proof of conceptFix available

CVE-2025-5399

WebSocket endless loop

A public proof of concept exists; no exploitation attested.

  • Published2025-06-07
  • Fixed in8.14.1
  • WeaknessCWE-835

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-06-0708:15CVE publishedNVD

Versions per branch

NVD
Haxx curl
BranchAffectedFixed in
8.x≥ 8.13.0, < 8.14.18.14.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As curl, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • curlother versions: not affected
    Affected
    • ≥ 8.14.0, ≤ 8.14.0no fix statedsemver
    • ≥ 8.13.0, ≤ 8.13.0no fix statedsemver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-06-07

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • curlSUSE:Linux Micro 6.1all versions · fixed in 8.14.1-slfo.1.1_1.1
  • curlSUSE:Linux Enterprise Module for Basesystem 15 SP7all versions · fixed in 8.14.1-150600.4.28.1
  • curlSUSE:Linux Enterprise Module for Basesystem 15 SP6all versions · fixed in 8.14.1-150600.4.28.1
  • curlopenSUSE:Tumbleweedall versions · fixed in 8.14.1-4.1
  • curlopenSUSE:Leap 15.6all versions · fixed in 8.14.1-150600.4.28.1
  • curlMinimOSall versions · fixed in 8.10.1-r0and 3 other packages
  • curlEchoall versions · fixed in 8.14.1
  • curlDebian:14all versions · fixed in 8.14.1-1

20 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-5399 Red Hat Product Security

    curl: libcurl: WebSocket endless loop

Full record on NVD

Fix

  1. Update Haxx curl to 8.14.1

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2025-06-07
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-8h93-38hx-vv92

Frequently asked questions

What is CVE-2025-5399?

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.

Is CVE-2025-5399 actively exploited?

A proof-of-concept exploit exists for CVE-2025-5399, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-5399?

CVE-2025-5399 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running curl? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record