CVE-2025-5399

Source
https://cve.org/CVERecord?id=CVE-2025-5399
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5399.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5399
Aliases
Downstream
Related
Published
2025-06-07T07:49:09.370Z
Modified
2026-06-26T03:54:13.899513003Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
WebSocket endless loop
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5399.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "last_affected": "8.14.0"
                },
                {
                    "last_affected": "8.13.0"
                }
            ]
        }
    ],
    "cna_assigner": "curl"
}
References

Affected packages

Git / github.com/curl/curl

Affected ranges

Type
GIT
Repo
https://github.com/curl/curl
Events
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "8.13.0"
        },
        {
            "fixed": "8.14.1"
        }
    ]
}

Affected versions

Other
curl-8_13_0
curl-8_14_0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5399.json"