CVE-2020-2904: Denial of Service in Oracle MySQL Server Optimizer
- Vendors
- NetAppFedora ProjectOracle CorporationCanonical
CVE-2020-2904 is a denial-of-service vulnerability in the Server: Optimizer component of Oracle MySQL Server, affecting supported versions 8.0.19 and earlier. An authenticated, highly privileged attacker with network access can cause the server to hang or repeatedly crash. Exploitation has low complexity and requires no user interaction. The specific vulnerable function and underlying weakness are not publicly specified. The CVSS v3.0 base score is 4.9, with vector CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation causes complete denial of service of MySQL Server through a hang or frequently repeatable crash, disrupting database availability. The assessed impact is high for availability, with no confidentiality or integrity impact and no change in security scope.
Mitigation
If you can’t patch tonight, do this now.
Until patching is completed, restrict network access to MySQL to trusted systems and limit highly privileged database access to accounts that require it. These exposure-reduction measures do not correct the underlying vulnerability.
Remediation
Patch, then assume compromise.
Upgrade MySQL Server to version 8.0.20 or later, or install the applicable vendor security update. Ubuntu provides fixed MySQL 8.0.20 packages through USN-4350-1. Red Hat provides MySQL 8.0.21 updates through RHSA-2020:3518, RHSA-2020:3732, RHSA-2020:3755, and RHSA-2020:3757, depending on the product stream; installation automatically restarts the MySQL service. For affected Red Hat container deployments, update the base image and rebuild dependent images.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-2904 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2020-2904 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-2904?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2020-2904.
- Is there a patch for CVE-2020-2904?
- Upgrade MySQL Server to version 8.0.20 or later, or install the applicable vendor security update. Ubuntu provides fixed MySQL 8.0.20 packages through USN-4350-1.
- What products are affected by CVE-2020-2904?
- Oracle Corporation Mysql, NetApp Activeiq Unified Manager, Fedora Project Fedora, NetApp Oncommand Insight, NetApp Oncommand Workflow Automation, and 2 more.
- How severe is CVE-2020-2904?
- CVE-2020-2904 has a CVSS v3.1 score of 4.9 (Medium) and an EPSS score of 2.4% (84th percentile) as of Nov 14, 2026.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.