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.
Published: 2025-06-07
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-17371 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.
History

Wed, 30 Jul 2025 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Haxx
Haxx curl
CPEs cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
Vendors & Products Haxx
Haxx curl

Tue, 10 Jun 2025 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 09 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 07 Jun 2025 08:30:00 +0000

Type Values Removed Values Added
References

Sat, 07 Jun 2025 08:00:00 +0000

Type Values Removed Values Added
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.
Title WebSocket endless loop
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2025-06-09T13:20:29.843Z

Reserved: 2025-05-31T15:02:27.226Z

Link: CVE-2025-5399

cve-icon Vulnrichment

Updated: 2025-06-07T08:05:07.254Z

cve-icon NVD

Status : Analyzed

Published: 2025-06-07T08:15:20.687

Modified: 2025-07-30T19:41:33.457

Link: CVE-2025-5399

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-06-07T07:49:09Z

Links: CVE-2025-5399 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-06-24T09:51:37Z

Weaknesses