CVE-2026-21998: Medium severity Oracle MySQL Server vulnerability

Published Apr 21, 2026
·
Updated

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.0-8.0.45, 8.4.0-8.4.8 and 9.0.0-9.6.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).

Affected Software

6 affected componentsFixes available
Oracle MySQL Server>=8.0.0<=8.0.45, >=8.4.0<=8.4.8, >=9.0.0<=9.6.0
Oracle MySQL Server>=8.0.0<=8.0.45
Oracle MySQL Server>=8.4.0<=8.4.8
Oracle MySQL Server>=9.0.0<=9.6.0
Microsoft azl3 mysql 8.0.45-2
Microsoft cbl2 mysql 8.0.45-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Restrict network exposure of MySQL Server. Use firewall/ACL rules, network segmentation, or a WAF to allow MySQL access only from trusted hosts and management networks; block or limit access from untrusted networks and the public internet.

  2. Operational

    Implement availability monitoring and incident response for MySQL Server to detect hangs or frequent crashes (DoS). Configure alerts, automated restart procedures where appropriate, and be prepared to apply vendor-supplied patches or mitigations when they are released.

Event History

Apr 21, 2026
CVE Published
via MITRE·08:34 PM
Data Sourced
via MITRE·08:34 PM
DescriptionSeverity
Data Sourced
via Red Hat·09:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 23, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2026-21998?

CVE-2026-21998 is classified as an easily exploitable vulnerability with high potential impact.

2

How do I fix CVE-2026-21998?

To fix CVE-2026-21998, upgrade your MySQL Server to a version beyond 8.0.45, 8.4.8, or 9.6.0.

3

What components of MySQL Server are affected by CVE-2026-21998?

CVE-2026-21998 affects the Optimizer component of Oracle MySQL Server.

4

What versions of Oracle MySQL are impacted by CVE-2026-21998?

The impacted versions of Oracle MySQL are 8.0.0 to 8.0.45, 8.4.0 to 8.4.8, and 9.0.0 to 9.6.0.

5

Who can exploit CVE-2026-21998?

CVE-2026-21998 can be exploited by a high privileged attacker with network access through multiple protocols.

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