CVE-2025-5399: curl · Infinite Loop
Affects curlSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 71% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| curl curl | Affected
| Fixed in– |
AI-suggested
2) Implement network-level controls to restrict or monitor WebSocket connections to untrusted or unknown servers, reducing exposure to malicious payloads. 3) Employ application-level timeouts and watchdog mechanisms to detect and recover from unresponsive states caused by infinite loops, allowing graceful termination or restart of affected processes. 4) Conduct thorough testing of applications using libcurl for WebSocket functionality to identify potential hangs or resource exhaustion scenarios. 5) Consider deploying runtime protection tools that can detect abnormal CPU usage patterns indicative of infinite loops and trigger alerts or automated remediation. 6) Maintain an inventory of software and devices using libcurl to prioritize patching and risk assessment. 7) Engage with vendors and open-source communities to track patch releases and advisories related to this vulnerability.
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.