CVE-2025-21580: Medium severity Oracle MySQL Server vulnerability
Last updated 5 May 2025
Other sources
Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.32 and prior and 8.0.22 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Client. CVSS 3.1 Base Score 5.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
— Microsoft
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 8.0.0-8.0.41, 8.4.0-8.4.4 and 9.0.0-9.2.0. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).
— Debian
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/mysql-8.0to a version that resolves this vulnerability.Fixed in 8.0.42-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.0.42-1 - Upgrade
Upgrade
Oracle MySQL (MySQL Client) C APIto a version that resolves this vulnerability.Fixed in 5.7.32 and prior - Upgrade
Upgrade
Oracle MySQL (MySQL Client) C APIto a version that resolves this vulnerability.Fixed in 8.0.22 and prior - Upgrade
Upgrade
Oracle MySQL (MySQL Server) Server: DMLto a version that resolves this vulnerability.Fixed in 8.0.0-8.0.41 - Upgrade
Upgrade
Oracle MySQL (MySQL Server) Server: DMLto a version that resolves this vulnerability.Fixed in 8.4.0-8.4.4 - Upgrade
Upgrade
Oracle MySQL (MySQL Server) Server: DMLto a version that resolves this vulnerability.Fixed in 9.0.0-9.2.0 - Compensating control
Since the MySQL Client/Server vulnerability is exploitable over the network via multiple protocols, restrict network access to the MySQL Client/Server ports (AV:N) so only trusted hosts can reach them.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21580?
CVE-2025-21580 is classified as an easily exploitable vulnerability that allows high privileged attackers to compromise MySQL Server.
How do I fix CVE-2025-21580?
To fix CVE-2025-21580, upgrade your MySQL Server to a version that is not affected, specifically versions above 8.0.41, 8.4.4, or 9.2.0.
Which versions of MySQL Server are affected by CVE-2025-21580?
CVE-2025-21580 affects MySQL Server versions 8.0.0 to 8.0.41, 8.4.0 to 8.4.4, and 9.0.0 to 9.2.0.
Who is at risk from CVE-2025-21580?
Databases running vulnerable versions of MySQL Server with high privileged access and network exposure are at risk from CVE-2025-21580.
What component of MySQL Server does CVE-2025-21580 impact?
CVE-2025-21580 impacts the DML component of the MySQL Server product.