CVE-2026-22009·MySQL vulnerability
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 low 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 6.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
- Severity
- medium
- Software
- MySQL
- Fixed in
- 8.0.46-0ubuntu0.20.04.1+esm2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 10% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 9.0.0
Until: 9.6.0
Fixed in: 8.0.46-0ubuntu0.20.04.1+esm2
How to fix this CVE
Update MySQL Server to version 8.0.46 or later to resolve a denial-of-service vulnerability in the query optimizer that allows authenticated attackers to crash the database. This patch addresses improper handling of certain optimizer operations that can trigger server hangs or repeated crashes. Prioritize this update in your maintenance window to restore service stability and prevent potential downtime from exploitation.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Check installed MySQL version: mysql --version or mysql -u root -p -e 'SELECT VERSION();'
- Verify if authenticated connections are restricted to trusted networks by reviewing MySQL bind-address and firewall rules with: sudo cat /etc/mysql/mysql.conf.d/mysqld.cnf | grep -E 'bind-address|port'
- Search MySQL error logs for repeated crash patterns or 'InnoDB' optimizer-related errors: sudo grep -i 'optimizer\|crash\|hang' /var/log/mysql/error.log | tail -20
- Confirm patch installation by running: mysql --version and comparing against 8.0.46+ or the latest stable release for your branch
FAQ
What is CVE-2026-22009?
This is a denial-of-service vulnerability in MySQL Server's query optimizer component that allows authenticated users with network access to trigger server hangs or repeated crashes by sending specially crafted queries. The vulnerability does not compromise data confidentiality or integrity, only service availability.
Is CVE-2026-22009 being actively exploited?
No, CVE-2026-22009 is not listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploit code is currently available. However, the ease of exploitation means patching should not be delayed.
What versions of MySQL are affected by CVE-2026-22009?
MySQL 8.0.0 through 8.0.45, 8.4.0 through 8.4.8, and 9.0.0 through 9.6.0 are all affected. Fixed versions include 8.0.46 and later releases on supported branches.
How do I check if my server is vulnerable to CVE-2026-22009?
Run 'mysql -u root -p -e "SELECT VERSION();"' and compare your version against the affected ranges. If your version falls within 9.0.0–9.6.0, 8.4.0–8.4.8, or 8.0.0–8.0.45, your server is vulnerable.
Does Defensia detect CVE-2026-22009?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-22009 will appear in your dashboard with remediation steps.
Related MySQL CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-22009. Free for 1 server.
Get started free