Loop with Unreachable Exit Condition ('Infinite Loop') Affecting mysql8.4 package, versions <0:8.4.6-2.el10_0


Severity

Recommended
medium

Based on Rocky Linux security rating.

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-ROCKY10-MYSQL84-13297364
  • published5 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 Rocky-Linux:10 mysql8.4 to version 0:8.4.6-2.el10_0 or higher.
This issue was patched in RLSA-2025:15699.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql8.4 package and not the mysql8.4 package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 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