CVE-2026-34317·MySQL vulnerability
Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell: Core Client). 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 logon to the infrastructure where MySQL Shell executes to compromise MySQL Shell. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Shell. CVSS 3.1 Base Score 5.0 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/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 2% 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 Shell to version 8.0.46 or later to patch a local denial-of-service vulnerability that can be triggered through user interaction. This vulnerability affects versions 8.0.0-8.0.45, 8.4.0-8.4.8, and 9.0.0-9.6.0, allowing low-privileged local users to crash the Shell process. Promptly apply the available security update to your MySQL installation.
sudo dnf update mysql-serverDefensia detects this vulnerability
How to check if you are affected
- Check installed MySQL version: mysql --version or mysqlsh --version
- Verify if MySQL Shell is installed and in use: which mysqlsh && mysqlsh --version
- Search system logs for abnormal Shell terminations: grep -i 'segfault\|crash\|exit' /var/log/syslog /var/log/audit/audit.log 2>/dev/null | grep -i mysql
- Confirm the patched version is running: mysqlsh --version | grep -E '8\.0\.(4[6-9]|[5-9][0-9])|8\.4\.[9-9]|9\.[7-9]'
FAQ
What is CVE-2026-34317?
CVE-2026-34317 is a local denial-of-service vulnerability in MySQL Shell that allows a low-privileged attacker with shell access to trigger unexpected crashes or hangs of the Shell process through user interaction. This affects the core client component of MySQL Shell across multiple version branches.
Is CVE-2026-34317 being actively exploited?
No, CVE-2026-34317 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, this does not eliminate the need for patching, as the vulnerability is easily exploitable and impacts availability.
What versions of MySQL are affected by CVE-2026-34317?
Vulnerable versions include MySQL Shell 8.0.0 through 8.0.45, 8.4.0 through 8.4.8, and 9.0.0 through 9.6.0. The fix is available in version 8.0.46 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-34317?
Run 'mysqlsh --version' and compare the output against the affected ranges (8.0.0-8.0.45, 8.4.0-8.4.8, 9.0.0-9.6.0). If your version falls within these ranges, your system is vulnerable.
Does Defensia detect CVE-2026-34317?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MySQL is installed on a monitored server, CVE-2026-34317 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-34317. Free for 1 server.
Get started free