Skip to main content
CVE-2025-5399VulnerabilityPublished Updated

CVE-2025-5399: curl · Infinite Loop

Affects curlSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
curl curlAffected
  • =8.14.0
  • =8.13.0
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.

References

Community reviews

Loading reviews…