CVE-2025-5399 Details
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.
A denial-of-service vulnerability has been identified in libcurl's WebSocket implementation, specifically in versions 8.13.0 prior to 8.14.1. A malicious server can send a specially crafted packet that traps libcurl in an infinite busy loop. This loop can only be exited by terminating the thread or process, potentially causing a DoS condition in applications that use libcurl.
Users can upgrade to libcurl version 8.14.1 or later, or apply a patch that modifies the WebSocket sending function to prevent the infinite loop.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://curl.se/docs/CVE-2025-5399.html | curl | Vendor Advisory |
| https://curl.se/docs/CVE-2025-5399.json | curl | Vendor Advisory |
| https://hackerone.com/reports/3168039 | curl | ExploitIssue TrackingThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/06/04/2 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| haxx curl | >= 8.13.0, < 8.14.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | curl |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | Initial Analysis | [email protected] |
| Jun 9, 2025 | CVE Modified | CISA-ADP |
| Jun 7, 2025 | New CVE Received | curl |
| Jun 7, 2025 | CVE Modified | CVE |