Improper input validation in MySQL Server - CVE-2025-21518

 

Improper input validation in MySQL Server - CVE-2025-21518

Published: January 21, 2025


Vulnerability identifier: #VU103176
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-21518
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation within the Server: Optimizer component in MySQL Server. A remote authenticated user can exploit this vulnerability to perform a denial of service (DoS) attack.


Affected software

MySQL Server
MySQL Cluster
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
openEuler
mecab
mecab-ipadic-EUCJP
mecab-ipadic
mysql-test
mysql-server
mysql-libs
mysql-errmsg
mysql-devel
mysql-debugsource
mysql
mysql-debuginfo
mysql-config
mysql-common
mysql-help
mysql (Red Hat package)
Dell EMC Storage Monitoring and Reporting (SMR)
Storage Resource Manager

How to mitigate CVE-2025-21518

Install updates from vendor's website.

MySQL Server - addressed in versions 8.0.41, 8.4.4, 9.2.0
MySQL Cluster - addressed in versions 8.0.41, 9.2.0
mecab - update to 0.996-2
mecab-ipadic-EUCJP - update to 2.7.0.20070801-17.0.1
mecab-ipadic - update to 2.7.0.20070801-17.0.1
Dell EMC Storage Monitoring and Reporting (SMR) - addressed in versions 5.0.2.2, 5.1.0.0
Storage Resource Manager - addressed in versions 5.0.2.2, 5.1.0.0
mysql-test - update to 8.0.41-1
mysql-server - update to 8.0.41-1
mysql-libs - update to 8.0.41-1
mysql-errmsg - update to 8.0.41-1
mysql-devel - update to 8.0.41-1
mysql-debugsource - update to 8.0.41-1
mysql - update to 8.0.41-1
mysql-debuginfo - update to 8.0.41-1
mysql-config - update to 8.0.41-1
mysql-common - update to 8.0.41-1
mysql-help - update to 8.0.41-1
mysql-common - update to 8.0.41-1.0.1
mysql-test - update to 8.0.41-1.0.1
mysql-server - update to 8.0.41-1.0.1
mysql-libs - update to 8.0.41-1.0.1
mysql-errmsg - update to 8.0.41-1.0.1
mysql-devel - update to 8.0.41-1.0.1
mysql - update to 8.0.41-1.0.1
mysql (Red Hat package) - update to 8.0.41-2.el9_5

External References

Related Security Bulletins