CVE-2026-21998

mysql: Optimizer unspecified vulnerability (CPU Apr 2026)

Published Apr 21, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
Description
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).

Analysis

AI-generated

Technical impact

Vulnerability discovered in the Optimizer component of Oracle MySQL Server allows a high privileged attacker to cause the server to hang or repeatedly crash, resulting in a denial of service. The defect is a form of uncontrolled resource consumption and memory allocation error, as identified by CWE-400 and CWE-770. The impact is limited to availability; there is no direct compromise of confidentiality or integrity.

Affected Systems

Oracle MySQL Server versions 8.0.0 through 8.0.45, 8.4.0 through 8.4.8, and 9.0.0 through 9.6.0 are affected. Users of these releases should verify their deployments against the Oracle CPU April 2026 advisory.

Risk and Exploitability

The CVSS base score of 4.9 reflects a moderate availability impact. The EPSS score of < 1% indicates a very low yet non-zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation. Successful exploitation requires network access to the MySQL Server and an attacker who possesses high‑level privileges; the most likely attack vector involves sending specially crafted optimizer queries over any of the server’s supported network protocols, a fact that is inferred from the description rather than explicitly stated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Oracle MySQL Server to a non‑vulnerable release (8.0.46+, 8.4.9+, or 9.6.1+).
  • Restrict privileged client access and enforce least privilege for database accounts.
  • Monitor for repeated optimizer requests that result in hangs or crashes and configure alerts to detect repeatable denial‑of‑service patterns.

Generated by OpenCVE AI on April 29, 2026 at 00:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8363-1 MySQL vulnerabilities
Ubuntu USN Ubuntu USN USN-8363-2 MySQL vulnerabilities
History
Type Values Removed Values Added
Title Denial-of-Service via Optimizer Component Crash in Oracle MySQL Server mysql: Optimizer unspecified vulnerability (CPU Apr 2026)
Weaknesses CWE-770
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Denial-of-Service via Optimizer Component Crash in Oracle MySQL Server
Weaknesses CWE-400
Type Values Removed Values Added
Description 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).
First Time appeared Oracle
Oracle mysql Server
CPEs cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
Vendors & Products Oracle
Oracle mysql Server
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
oracle
Published
Updated
Apr 22, 2026, 2:03 PM
Reserved
Jan 5, 2026, 6:07 PM
Status
Analyzed
Published
Apr 21, 2026, 9:16 PM
Modified
Oct 26, 2026, 10:10 PM
Severity
Moderate
Public date
Apr 21, 2026, 12:00 AM