CVE-2020-2897: Denial of Service in Oracle MySQL Server Optimizer
- Vendors
- NetAppFedora ProjectOracle CorporationCanonical
CVE-2020-2897 is a denial-of-service vulnerability in the Server: Optimizer component of Oracle MySQL Server, affecting supported versions 8.0.19 and earlier. A highly privileged attacker with network access through multiple protocols can cause the server to hang or repeatedly crash. The underlying flaw, vulnerable function, and triggering input are unspecified. The vulnerability has a CVSS v3.0 base score of 4.9 (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H) and was fixed in MySQL 8.0.20.
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 crashes, potentially interrupting dependent applications. The assessed impact is limited to availability, with no confidentiality or integrity impact.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict network access to MySQL to required trusted systems and remove unnecessary high-level database privileges. These measures reduce exposure but do not correct the optimizer flaw. No vulnerability-specific workaround is identified.
Remediation
Patch, then assume compromise.
Upgrade to MySQL 8.0.20 or a later supported release, or install distribution packages containing the fix. Ubuntu fixes include MySQL 8.0.20 updates under USN-4350-1. Red Hat fixes include RHSA-2020:3518 for Software Collections on RHEL 7 and RHSA-2020:3732, RHSA-2020:3755, or RHSA-2020:3757 for applicable RHEL 8 channels; these updates deliver MySQL 8.0.21 and automatically restart the database service. For container deployments, install the vendor-fixed image and rebuild dependent images. Verify vendor advisory status rather than relying solely on upstream version comparisons because distributions may backport fixes.
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-2897 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2020-2897 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-2897?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2020-2897.
- Is there a patch for CVE-2020-2897?
- Upgrade to MySQL 8.0.20 or a later supported release, or install distribution packages containing the fix. Ubuntu fixes include MySQL 8.0.20 updates under USN-4350-1.
- What products are affected by CVE-2020-2897?
- 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-2897?
- CVE-2020-2897 has a CVSS v3.1 score of 4.9 (Medium) and an EPSS score of 2.3% (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.