cURL 8.13.0/8.14.0 WebSocket lib/ws.c curl_ws_send infinite loop

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.1$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in cURL 8.13.0/8.14.0. This affects the function curl_ws_send of the file lib/ws.c of the component WebSocket Handler. This manipulation causes infinite loop. This vulnerability is tracked as CVE-2025-5399. The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as problematic was found in cURL 8.13.0/8.14.0. Affected by this vulnerability is the function curl_ws_send of the file lib/ws.c of the component WebSocket Handler. The manipulation with an unknown input leads to a infinite loop vulnerability. The CWE definition for the vulnerability is CWE-835. The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. As an impact it is known to affect availability. The summary by CVE is:

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.

The advisory is shared at seclists.org. This vulnerability is known as CVE-2025-5399 since 05/31/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1499 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 240632 (Curl 8.13.0 < 8.14.1 DoS (CVE-2025-5399)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 8.14.1 eliminates this vulnerability. The upgrade is hosted for download at curl.se. Applying the patch d1145df24de8f80e6b16 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (240632), EUVD (EUVD-2025-17371) and CERT Bund (WID-SEC-2025-1567). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Red Hat Enterprise Linux
  • Oracle MySQL
  • Ubuntu Linux
  • Oracle Linux
  • RESF Rocky Linux
  • Xerox FreeFlow Print Server

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Infinite loop
CWE: CWE-835 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 240632
Nessus Name: Curl 8.13.0 < 8.14.1 DoS (CVE-2025-5399)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: cURL 8.14.1
Patch: d1145df24de8f80e6b16

Timelineinfo

05/31/2025 🔍
06/04/2025 +4 days 🔍
06/04/2025 +0 days 🔍
12/02/2025 +181 days 🔍

Sourcesinfo

Product: github.com

Advisory: seclists.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2025-5399 (🔍)
GCVE (CVE): GCVE-0-2025-5399
GCVE (VulDB): GCVE-100-311077
EUVD: 🔍
CERT Bund: WID-SEC-2025-1567 - Oracle MySQL: Mehrere Schwachstellen

Entryinfo

Created: 06/04/2025 10:13
Updated: 12/02/2025 21:13
Changes: 06/04/2025 10:13 (59), 06/07/2025 10:30 (1), 06/07/2025 11:13 (1), 06/26/2025 21:54 (2), 07/31/2025 00:38 (1), 08/08/2025 10:44 (2), 09/18/2025 21:03 (7), 12/02/2025 21:13 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!