CVE Vulnerabilities

CVE-2025-5399

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jun 07, 2025 | Modified: Jul 30, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW

Due to a mistake in libcurls 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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Curl Haxx 8.13.0 (including) 8.14.1 (excluding)
Curl Ubuntu devel *
Curl Ubuntu upstream *

References