CVE-2026-34278·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 25% 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
Update MySQL Server to version 8.0.46 or later to patch an optimizer component vulnerability that allows high-privileged attackers to trigger denial-of-service conditions. Affected installations running MySQL 8.0.0 through 8.0.45 should prioritize this update to restore availability guarantees. Test the update in a staging environment before deploying to production to ensure compatibility with your applications.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check the installed MySQL version with: mysql --version or by connecting to the server and running SELECT VERSION();
- Step 2: Query the MySQL information schema to identify active optimizer-dependent queries: SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST; and look for long-running or hanging queries
- Step 3: Review MySQL error logs for repeated crash signatures: grep 'crash\|core dump\|assertion failed' /var/log/mysql/error.log or your configured log path
- Step 4: After patching, verify the fix with mysql --version and confirm no hanging queries occur under your normal workload for 24-48 hours
FAQ
What is CVE-2026-34278?
CVE-2026-34278 is a vulnerability in MySQL Server's optimizer component that permits high-privileged database users to craft malicious queries capable of causing the server to hang or crash, resulting in a denial-of-service condition.
Is CVE-2026-34278 being actively exploited?
No, CVE-2026-34278 is not listed in the CISA KEV catalog and no public exploits are currently available. However, organizations should still apply the patch promptly since the attack vector requires only network access and high privileges.
What versions of MySQL are affected by CVE-2026-34278?
MySQL Server versions 8.0.0 through 8.0.45 are affected. The vulnerability has been resolved in version 8.0.46 and later.
How do I check if my server is vulnerable to CVE-2026-34278?
Connect to your MySQL instance and run: SELECT VERSION(); If the version is between 8.0.0 and 8.0.45, your installation is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-34278?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-34278 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-34278. Free for 1 server.
Get started free