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

Published Apr 15, 2025
·
Updated

Vulnerability in the MySQL Server product of Oracle MySQL

Affected Software

8 affected componentsFixes available
Oracle MySQL Server>=8.0.0<=8.0.41, >=8.4.0<=8.4.4, >=9.0.0<=9.2.0
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 to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.42-1
  2. Upgrade

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

    Fixed in 8.0.41
  3. Upgrade

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

    Fixed in 8.4.4
  4. Upgrade

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

    Fixed in 9.2.0

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:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected 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
Description
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-21581?

CVE-2025-21581 is classified as an easily exploitable vulnerability that poses a high risk to affected MySQL Server versions.

2

How do I fix CVE-2025-21581?

To address CVE-2025-21581, upgrade your MySQL Server to a version that is not affected, such as versions later than 8.0.41, 8.4.4, and 9.2.0.

3

Which versions of MySQL Server are affected by CVE-2025-21581?

The affected versions of MySQL Server are 8.0.0 to 8.0.41, 8.4.0 to 8.4.4, and 9.0.0 to 9.2.0.

4

Who is at risk due to CVE-2025-21581?

High privileged attackers with network access via multiple protocols are at risk of exploiting CVE-2025-21581.

5

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

CVE-2025-21581 specifically affects the Optimizer component of the MySQL Server.

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