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).

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


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61109MEDIUM6.5
  • MySQL logoMySQL
  • mysql8.4-errmsg
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mariadb
NoNoJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • mariadb1011
NoNoJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • cpe:2.3:a:oracle:mysql_server
NoNoJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mysql:8.4::mysql-common
NoYesJul 21, 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

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