CVE-2023-21864: Denial of Service in Oracle MySQL Server Optimizer
- Vendor
- Oracle Corporation
CVE-2023-21864 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 supported protocols can cause the server to hang or repeatedly crash, resulting in complete denial of service. Exploitation has low complexity and requires no user interaction. The underlying defect and vulnerable function are not specified. The CVSS v3.1 base score is 4.9, with vector CVSS:3.1/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 completely disrupt MySQL Server availability through a hang or frequently repeatable crash, interrupting database service and dependent applications. No confidentiality or integrity impact is identified.
Mitigation
If you can’t patch tonight, do this now.
As interim exposure-reduction measures, restrict network access to MySQL Server to trusted systems and limit access to highly privileged database accounts. These measures do not correct the vulnerability; no vulnerability-specific workaround is documented.
Remediation
Patch, then assume compromise.
Upgrade MySQL Server to version 8.0.31 or a later patched release. The fix was included in Oracle's January 2023 Critical Patch Update. Distribution-managed installations should apply the corresponding vendor security 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-21864 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2023-21864 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-21864?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2023-21864.
- Is there a patch for CVE-2023-21864?
- Upgrade MySQL Server to version 8.0.31 or a later patched release. The fix was included in Oracle's January 2023 Critical Patch Update.
- What products are affected by CVE-2023-21864?
- Oracle Corporation Mysql Server.
- How severe is CVE-2023-21864?
- CVE-2023-21864 has a CVSS v3.1 score of 4.9 (Medium) and an EPSS score of 1.2% (69th 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.