Loop with Unreachable Exit Condition ('Infinite Loop') Affecting mysql:8.4/mysql-devel package, versions <0:8.4.6-1.module_el9.6.0+180+a4e757e5


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (16th 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-ALMALINUX9-MYSQL-12926693
  • published19 Sept 2025
  • disclosed11 Sept 2025

Introduced: 11 Sep 2025

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

How to fix?

Upgrade AlmaLinux:9 mysql:8.4/mysql-devel to version 0:8.4.6-1.module_el9.6.0+180+a4e757e5 or higher.
This issue was patched in ALSA-2025:16046.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql:8.4/mysql-devel package and not the mysql:8.4/mysql-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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