CVE-2026-34267·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. Easily exploitable vulnerability allows high 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 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/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.32% — higher than 24% 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: 8.0.0
Until: 8.0.45
Fixed in: 8.0.46-0ubuntu0.20.04.1+esm2
How to fix this CVE
Administrators should upgrade MySQL Server to version 8.0.46 or later to address a query optimizer vulnerability that can be triggered by high-privileged users to cause server denial of service. This vulnerability allows authenticated attackers with administrative privileges to craft specific queries that force the MySQL optimizer into resource-exhaustive states, resulting in server hangs or crashes. Update your MySQL installation immediately if running versions 8.0.0 through 8.0.45.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Run `mysql --version` or query `SELECT VERSION();` from within MySQL to determine the currently installed version number
- Check if the MySQL optimizer is exposed to network-based administrative connections by reviewing `/etc/mysql/mysql.conf.d/mysqld.cnf` and verifying bind-address settings and user privilege grants
- Search MySQL error logs (typically `/var/log/mysql/error.log`) for repeated 'hang detected' messages, 'InnoDB: Fatal error' entries, or abnormal query optimizer warnings that correlate with administrative user activity
- After patching, run `mysql --version` again and confirm the version is 8.0.46 or higher, then perform a test query execution to ensure normal optimizer behavior is restored
FAQ
What is CVE-2026-34267?
CVE-2026-34267 is a vulnerability in MySQL's query optimizer component that permits high-privileged users to cause denial of service by submitting specially crafted queries that exhaust server resources, leading to hangs or crashes.
Is CVE-2026-34267 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available.
What versions of MySQL are affected by CVE-2026-34267?
MySQL Server versions 8.0.0 through 8.0.45 are affected; version 8.0.46 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-34267?
Connect to your MySQL instance and run `SELECT VERSION();` — if the version is between 8.0.0 and 8.0.45 inclusive, your server is vulnerable and requires an update.
Does Defensia detect CVE-2026-34267?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-34267 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-34267. Free for 1 server.
Get started free