CVE-2025-21585: Medium severity Oracle MySQL Server vulnerability

Published Apr 15, 2025
·
Updated

Last updated 5 May 2025

Other sources

Vulnerability in the MySQL Server product of Oracle MySQL

Microsoft

Affected Software

9 affected componentsFixes available
Oracle MySQL Server>=8.0.0<=8.0.41, >=8.4.0<=8.4.4, >=9.0.0<=9.2.0
debian/mysql-8.0
8.0.42-1
Oracle MySQL Server>=8.0.0<=8.0.41
Oracle MySQL Server>=8.4.0<=8.4.4
Oracle MySQL Server>=9.0.0<=9.2.0
Microsoft cbl2 mysql 8.0.41-1<8.0.42-1
8.0.42-1
Microsoft azl3 mysql 8.0.41-1<8.0.42-1
8.0.42-1
Microsoft azl3 mysql 8.0.42-1<8.0.42-1
8.0.42-1
Microsoft cbl2 mysql 8.0.42-1<8.0.42-1
8.0.42-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mysql-8.0 to a version that resolves this vulnerability.

    Fixed in 8.0.42-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.42-1
  3. Upgrade

    Upgrade MySQL Server (Oracle MySQL) - Server: Optimizer to a version that resolves this vulnerability.

    Fixed in 8.0.42

Event History

Apr 15, 2025
CVE Published
via MITRE·08:30 PM
Data Sourced
via MITRE·08:30 PM
DescriptionSeverity
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 6, 2025
Data Sourced
via Ubuntu·12:07 AM
RemedyDescriptionSeverityAffected Software
Jun 23, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Updated
via Microsoft·07:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-21585?

CVE-2025-21585 is considered a high severity vulnerability that can be easily exploited by attackers.

2

How do I fix CVE-2025-21585?

To fix CVE-2025-21585, you should upgrade your MySQL Server to a version that is not affected, such as any versions beyond 8.0.41, 8.4.4, and 9.2.0.

3

Who is affected by CVE-2025-21585?

CVE-2025-21585 affects users running 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.

4

What component of MySQL Server is vulnerable in CVE-2025-21585?

The vulnerable component in CVE-2025-21585 is the Server: Optimizer in the MySQL Server product.

5

Can CVE-2025-21585 be exploited remotely?

Yes, CVE-2025-21585 can be exploited remotely by high privileged attackers with network access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203