Loop with Unreachable Exit Condition ('Infinite Loop') Affecting curl package, versions <8.14.1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.38% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-CURL-19498066
  • published2 Sept 2026
  • disclosed7 Jun 2025

Introduced: 7 Jun 2025

CVE-2025-5399  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Echo:latest curl to version 8.14.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1