Loop with Unreachable Exit Condition ('Infinite Loop') Affecting curl-dev package, versions <8.10.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (21st 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-MINIMOSLATEST-CURLDEV-13318362
  • published6 Oct 2025
  • 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 Minimos:latest curl-dev to version 8.10.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl-dev package and not the curl-dev package as distributed by Minimos. See How to fix? for Minimos: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