CVE-2026-22005
MySQL vulnerability analysis and mitigation

Overview

CVE-2026-22005 is a Denial of Service vulnerability in the MySQL Server Optimizer component of Oracle MySQL. It affects MySQL Server versions 8.0.0–8.0.45, 8.4.0–8.4.8, and 9.0.0–9.6.0. The vulnerability was disclosed on April 21, 2026, as part of Oracle's April 2026 Critical Patch Update. It carries a CVSS v3.1 base score of 4.9 (Medium) (Oracle Advisory, GitHub Advisory).

Technical details

The root cause is classified as CWE-400 (Uncontrolled Resource Consumption), meaning the MySQL Server Optimizer component fails to properly control resource allocation when processing certain inputs, leading to server hangs or crashes (GitHub Advisory). The vulnerability is network-accessible via multiple protocols and requires no user interaction, but does require high privileges (e.g., a DBA-level account) to exploit. The attack complexity is low, meaning no special conditions or race conditions are needed beyond authenticated access. CVE-2026-22005 was reported to Oracle by HoraceYang of Tencent Security YUNDING LAB, Xiaodong Qi of Shui Mu Yu Lin, and Yuanyi Li of Shui Mu Yu Lin (Oracle Advisory). No public proof-of-concept or detailed technical write-up has been identified at this time.

Impact

Successful exploitation results in a complete Denial of Service (DoS) of the MySQL Server — specifically, the ability to cause the server to hang or crash in a frequently repeatable manner, disrupting all database-dependent services and applications (Oracle Advisory). There is no impact on confidentiality or integrity; the vulnerability is purely an availability issue. Because the attacker must already hold high privileges, the blast radius is limited to environments where privileged database accounts may be compromised or misused.

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.037–0.047%, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The requirement for high privileges significantly limits the attacker pool, reducing practical exploitability despite the low attack complexity.

Mitigation and workarounds

Oracle has released patches for this vulnerability as part of the April 2026 Critical Patch Update. Administrators should upgrade MySQL Server to versions beyond 8.0.45, 8.4.8, and 9.6.0 respectively, as directed by Oracle's patch guidance (Oracle Advisory). As interim mitigations, Oracle recommends restricting network access to MySQL Server to trusted hosts only and enforcing strict role-based access controls to limit high-privilege accounts to authorized users. Red Hat has also issued corresponding errata (RHSA-2026:20693, RHSA-2026:23332, RHSA-2026:25052) for affected Linux distributions (GitHub Advisory).

Community reactions

Oracle acknowledged the vulnerability reporters — HoraceYang of Tencent Security YUNDING LAB, Xiaodong Qi, and Yuanyi Li of Shui Mu Yu Lin — in its April 2026 Critical Patch Update advisory (Oracle Advisory). No notable independent researcher commentary, social media discussion, or significant media coverage specific to this CVE has been identified, consistent with its moderate severity rating and limited exploitability.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Fixed

bionic (esm-apps)

mariadb-10.1

Not Affected

devel

mysql-8.4: 8.4.10-0ubuntu2

Affected

focal (esm-infra)

mysql-8.0: 8.0.46-0ubuntu0.20.04.1+esm2

Fixed

jammy

mysql-8.0: 8.0.46-0ubuntu0.22.04.2

Fixed

jammy (esm-apps)

mariadb-10.6

Not Affected

noble

mysql-8.0: 8.0.46-0ubuntu0.24.04.2

Fixed

noble (esm-apps)

mariadb

Not Affected

questing

mysql-8.4: 8.4.9-0ubuntu0.25.10.1

Fixed

RHEL / CentOS

Fixed

RHEL 8

:appstream:mysql:8.0:8100020260609092222:489197e6/mysql-0:8.0-8100020260609092222.489197e6.src

Fixed

RHEL 9

:appstream:mysql-0:8.0.46-1.el9_8.src

Fixed

RHEL 10

mysql8.4-0:8.4.9-1.el10_2.src

Fixed

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-63385CRITICAL9.2
  • MySQL logoMySQL
  • libevent2.src
NoYesAug 20, 2026
CVE-2026-63384HIGH8.7
  • MySQL logoMySQL
  • libevent
NoYesAug 20, 2026
CVE-2026-63383HIGH8.7
  • MySQL logoMySQL
  • libevent-devel
NoYesAug 20, 2026
CVE-2026-63388HIGH8.4
  • MySQL logoMySQL
  • libevent
NoYesAug 20, 2026
CVE-2026-63387HIGH7
  • MySQL logoMySQL
  • libevent2.src
NoYesAug 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

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