CVE-2024-20972: Oracle MySQL Server · Easily exploitable vulnerability allows high privileged attacker with network access via multiple
Affects Oracle MySQL ServerSource CVE Database V5
Not known to be exploited · CVSS 4.9 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mysqlmysql/mysql-serverpkg:deb/mysql/mysql-serverOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Restrict network access to MySQL Server instances, especially limiting high privilege user access to trusted networks and hosts only. 2. Implement strict network segmentation and firewall rules to reduce exposure of MySQL ports to untrusted networks. 3. Monitor MySQL Server logs and system performance metrics for signs of hangs, crashes, or unusual resource consumption indicative of exploitation attempts. 4. Enforce the principle of least privilege for MySQL users, ensuring that high privilege accounts are minimized and monitored. 5. Apply Oracle's security advisories and patches promptly once available to remediate the vulnerability. 6. Use intrusion detection/prevention systems (IDS/IPS) to detect anomalous traffic patterns targeting MySQL protocols. 7. Regularly audit and review user privileges and network access policies to reduce the attack surface. 8. Consider deploying MySQL high availability and failover solutions to mitigate service disruption impact. 9. Educate system administrators about the vulnerability and ensure incident response plans include steps for MySQL service disruptions.
Description
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.35 and prior and 8.2.0 and prior. 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).