CVE-2023-21917: Denial of Service in Oracle MySQL Server Optimizer
- Vendor
- Oracle Corporation
CVE-2023-21917 is a vulnerability in the Optimizer component of Oracle MySQL Server affecting supported versions 8.0.30 and earlier. A highly privileged attacker with network access through multiple protocols can trigger a server hang or frequently repeatable crash, causing complete denial of service. Exploitation has low complexity and requires no user interaction. The specific vulnerable function and underlying flaw are not disclosed. The CVSS v3.1 base score is 4.9 (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 can render MySQL Server unavailable through a hang or repeatedly triggered crashes, interrupting database operations and dependent services. The assessed impact is limited to availability; no confidentiality or integrity impact is identified.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to MySQL Server to trusted administrative hosts and applications only, minimize the number of accounts with high privileges, and monitor for abnormal queries or activity that could destabilize the optimizer. As the issue is easily exploitable by a high-privileged attacker, timely patching is the primary mitigation.
Remediation
Patch, then assume compromise.
Upgrade Oracle MySQL Server to version 8.0.31, which is identified as fixing this vulnerability, or a later patched release. Apply the applicable vendor security update for packaged or embedded MySQL deployments. The vulnerability was covered by Oracle's April 2023 Critical Patch Update.
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.
Frequently asked questions
- Is CVE-2023-21917 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2023-21917 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-21917?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2023-21917.
- Is there a patch for CVE-2023-21917?
- Upgrade Oracle MySQL Server to version 8.0.31, which is identified as fixing this vulnerability, or a later patched release. Apply the applicable vendor security update for packaged or embedded MySQL deployments.
- What products are affected by CVE-2023-21917?
- Oracle Corporation Mysql Server.
- How severe is CVE-2023-21917?
- CVE-2023-21917 has a CVSS v3.1 score of 4.9 (Medium) and an EPSS score of 1.1% (67th percentile) as of Nov 14, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.