CVE-2021-2021: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer).
CVE-2021-2021 affects 160 listed versions of Oracle MySQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Oracle MySQL
160 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.
7.6.29 7.6.21 7.6.20 7.6.15 7.6.14 7.6.13 7.5.33 7.5.25 7.5.24 7.5.19 7.5.18 7.5.17 7.4.35 7.4.34 7.4.29 7.4.28 7.4.27 7.3.30 7.3.29 7.3.28 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 5.7.44 5.7.43 5.7.42 5.7.41 5.7.40 5.7.39 5.7.38 5.7.37 5.7.36 5.7.35 5.7.34 5.7.33 5.7.32 5.7.31 5.7.30 5.6.51 5.6.50 5.6.49 5.6.48 5.6.47 5.6.46 5.6.45 5.6.44 5.6.43 5.6.42 5.6.41 5.6.40 5.6.39 5.6.38 5.6.37 5.5.63 5.5.62 5.5.61 5.5.60 and 100 more
What it is
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.22 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).
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (Oracle)
Published by Oracle on 20 January 2021. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2021-2021 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.