CVE-2026-34308·MySQL vulnerability
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: JSON). 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
A denial-of-service vulnerability in MySQL's JSON processing component allows authenticated users to crash the server through specially crafted requests. Upgrade to MySQL 8.0.46 or later, or apply the security patch from Oracle's April 2026 CPU release. This fix addresses improper handling of JSON operations that can trigger server hangs or repeated crashes when exploited by low-privileged database users.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Check installed MySQL version: mysql --version or SELECT VERSION();
- Query affected component status: SELECT @@version; and confirm version is between 9.0.0-9.6.0 or 8.0.0-8.0.45 or 8.4.0-8.4.8
- Monitor MySQL error logs for repeated crash patterns: sudo tail -f /var/log/mysql/error.log | grep -i 'JSON\|crash\|hang'
- Verify patch application by confirming MySQL version is 8.0.46 or later after update: mysql --version
FAQ
What is CVE-2026-34308?
CVE-2026-34308 is a denial-of-service vulnerability in Oracle MySQL's JSON component that allows authenticated attackers to trigger server crashes or hangs through malformed JSON operations.
Is CVE-2026-34308 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available.
What versions of MySQL are affected by CVE-2026-34308?
MySQL versions 8.0.0-8.0.45, 8.4.0-8.4.8, and 9.0.0-9.6.0 are affected. The fix is available in MySQL 8.0.46 and later releases.
How do I check if my server is vulnerable to CVE-2026-34308?
Log into MySQL and run SELECT VERSION(); to retrieve your current version. If the output falls within 8.0.0-8.0.45, 8.4.0-8.4.8, or 9.0.0-9.6.0 ranges, your server is vulnerable.
Does Defensia detect CVE-2026-34308?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-34308 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-34308. Free for 1 server.
Get started free