CVE-2026-21950: 
MySQL vulnerability analysis and mitigation

Overview

CVE-2026-21950 is a Denial of Service vulnerability in the MySQL Server Optimizer component, affecting versions 9.0.0 through 9.5.0. It was disclosed on January 20, 2026, as part of Oracle's January 2026 Critical Patch Update. A low-privileged, authenticated attacker with network access can exploit this vulnerability to cause a hang or repeatedly crash the MySQL Server. It carries a CVSS v3.1 base score of 6.5 (Medium) (Oracle Advisory).

Technical details

The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption), indicating that the MySQL Server Optimizer component fails to properly limit resource usage when processing certain queries or inputs. An attacker with low privileges and network access via multiple protocols (e.g., MySQL protocol, TCP) can send crafted requests to the Optimizer component that trigger uncontrolled resource consumption, resulting in a server hang or crash. No authentication bypass is required — the attacker only needs a valid low-privileged database account. The vulnerability was reported by Jingzhou Fu and Zhiyong Wu of WingTecher Lab at Tsinghua University (Oracle Advisory).

Impact

Successful exploitation results in a complete Denial of Service (DoS) of the MySQL Server — either a hang or a frequently repeatable crash — affecting availability with no impact on confidentiality or integrity. Because the crash is described as "frequently repeatable," an attacker can sustain the outage, preventing legitimate users and applications from accessing the database. This could cause significant disruption to any application or service dependent on the affected MySQL instance (Oracle Advisory).

Exploitability

There is no public proof-of-concept exploit code known at this time, and no evidence of in-the-wild exploitation has been reported. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.04%, indicating a very low probability of exploitation in the near term. Despite being "easily exploitable" per Oracle's classification (low complexity, low privileges required, no user interaction), the limited scope of affected versions (9.0.0–9.5.0) and the absence of public PoC reduce immediate risk (Oracle Advisory).

Mitigation and workarounds

Oracle has released patches for this vulnerability as part of the January 2026 Critical Patch Update (CPU), published January 20, 2026. Administrators should upgrade affected MySQL Server instances (versions 9.0.0–9.5.0) to a patched version as soon as possible. As a temporary workaround, Oracle recommends restricting network access to the MySQL Server to block the protocols used in the attack, and limiting low-privileged user accounts that can execute queries against the Optimizer component. Neither workaround is a permanent fix and may impact application functionality (Oracle Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

bionic (esm-apps)

mariadb-10.1

Not Affected

devel

mariadb

Not Affected

focal (esm-infra)

mysql-8.0

Not Affected

jammy

mysql-8.0

Not Affected

jammy (esm-apps)

mariadb-10.6

Not Affected

noble

mysql-8.0

Not Affected

noble (esm-apps)

mariadb

Not Affected

questing

mysql-8.4

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-101800MEDIUM6.8
  • MySQL logoMySQL
  • mysql.src
NoYesOct 20, 2026
CVE-2026-101803MEDIUM6.5
  • MySQL logoMySQL
  • cpe:2.3:a:oracle:mysql_cluster
NoYesOct 20, 2026
CVE-2026-101802MEDIUM6.5
  • MySQL logoMySQL
  • mysql-common
NoYesOct 20, 2026
CVE-2026-101799MEDIUM6.5
  • MySQL logoMySQL
  • mysql-errmsg
NoYesOct 20, 2026
CVE-2026-101801MEDIUM4.9
  • MySQL logoMySQL
  • mysql8.4-test-data
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management