CVE-2026-34303·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 12% 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 low-privileged users to trigger server crashes or hangs. This vulnerability affects versions 8.0.0 through 9.6.0 and requires immediate patching to restore service stability. Apply the security update through your distribution's package manager and restart the MySQL service.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Check the installed MySQL version by running: mysql --version or SELECT VERSION(); in the MySQL client
- Verify if the server is reachable over the network by attempting: mysql -h <host> -u <user> -p from a remote system
- Search MySQL error logs for repeated crash patterns or 'Optimizer' related errors: grep -i 'optimizer\|crash\|hang' /var/log/mysql/error.log
- After patching, confirm the new version is running: systemctl restart mysql && mysql --version
FAQ
What is CVE-2026-34303?
CVE-2026-34303 is a denial-of-service vulnerability in MySQL's query optimizer component that allows authenticated users with low privileges to cause the server to hang or crash by submitting specially crafted queries, resulting in service unavailability.
Is CVE-2026-34303 being actively exploited?
No, there are no reports of active exploitation or publicly available exploits for this vulnerability at this time, though timely patching is still recommended.
What versions of MySQL are affected by CVE-2026-34303?
MySQL Server versions 8.0.0 through 8.0.45, 8.4.0 through 8.4.8, and 9.0.0 through 9.6.0 are vulnerable; version 8.0.46 and later are patched.
How do I check if my server is vulnerable to CVE-2026-34303?
Run mysql --version to retrieve your installed version; if it falls within the affected ranges (8.0.0–8.0.45, 8.4.0–8.4.8, or 9.0.0–9.6.0), your server requires patching.
Does Defensia detect CVE-2026-34303?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-34303 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-34303. Free for 1 server.
Get started free