High
WebSocket endless loop
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-5399
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 16:51 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-5399
Complete source record
{
"id": "b4f403beb4b295e36df5c0b34485ac17b11c1a12888a708aa8945165cf7df5de",
"url": "https://osv.dev/vulnerability/CVE-2025-5399",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "WebSocket endless loop",
"summary": "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.",
"evidence": "osv:CVE-2025-5399",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-5399",
"aliases": [
"CURL-CVE-2025-5399",
"CVE-2025-5399"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/curl/curl",
"type": "GIT",
"events": [
{
"introduced": "1c3149881769e7bd79b072e48374e4c2b3678b2f"
},
{
"fixed": "fdb8a789d2b446b77bd7cdd2eff95f6cbc814cf4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.13.0"
},
{
"fixed": "8.14.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"curl-8_14_0",
"curl-8_13_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5399.json"
}
}
],
"modified": "2026-10-28T02:30:21.104053946Z",
"provider": "osv",
"references": [
"https://curl.se/docs/CVE-2025-5399.html",
"https://curl.se/docs/CVE-2025-5399.json",
"https://hackerone.com/reports/3168039",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5399.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-5399"
],
"provider_metadata": {
"cna_assigner": "curl",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "8.14.0"
},
{
"last_affected": "8.14.0"
},
{
"introduced": "8.13.0"
},
{
"last_affected": "8.13.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5399.json"
}
},
"related_cves": [
{
"value": "CVE-2025-5399",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487394,
"published_at": "2025-06-07T07:49:09.37+00:00"
}