CVE-2026-22017·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 14% 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 immediately to version 8.0.46 or later to patch a denial-of-service vulnerability in the query optimizer that allows authenticated attackers to crash the database. This vulnerability requires valid database credentials but can be triggered remotely through standard MySQL protocols, making it a critical availability risk for production systems.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Check installed MySQL version: mysql --version or SELECT VERSION(); from the MySQL shell
- Verify if your version falls within vulnerable ranges 8.0.0-8.0.45, 8.4.0-8.4.8, or 9.0.0-9.6.0 by comparing output against known patched versions
- Review MySQL error logs for repeated 'InnoDB: detected index corruption' or 'optimizer error' messages followed by server restarts: grep -i 'optimizer\|crash\|corrupt' /var/log/mysql/error.log
- Confirm the patch was applied by verifying the new version: mysql --version should show 8.0.46 or later, or 8.4.9+, or 9.6.1+
FAQ
What is CVE-2026-22017?
CVE-2026-22017 is a denial-of-service vulnerability in MySQL's query optimizer component that allows low-privileged database users to send specially crafted SQL queries that cause the server to hang or crash. The vulnerability affects multiple MySQL versions and requires valid database credentials to exploit.
Is CVE-2026-22017 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits have been released as of this publication date.
What versions of MySQL are affected by CVE-2026-22017?
Vulnerable versions include MySQL 8.0.0 through 8.0.45, 8.4.0 through 8.4.8, and 9.0.0 through 9.6.0. Versions 8.0.46 and later, 8.4.9 and later, and 9.6.1 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-22017?
Run 'mysql --version' or execute 'SELECT VERSION();' within MySQL. If the version is 8.0.0-8.0.45, 8.4.0-8.4.8, or 9.0.0-9.6.0, your server is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-22017?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-22017 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-22017. Free for 1 server.
Get started free