CVE-2018-2812: Medium severity Oracle MySQL vulnerability
Last updated 25 August 2025
Other sources
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Optimizer). Supported versions that are affected are 5.7.21 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 as well as unauthorized update, insert or delete access to some of MySQL Server accessible data.
External References:
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
— Red Hat
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Optimizer). Supported versions that are affected are 5.7.21 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 as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.0 Base Score 5.5 (Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H).
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2018-2812?
CVE-2018-2812 is classified as an easily exploitable high-severity vulnerability in MySQL Server.
How do I fix CVE-2018-2812?
To fix CVE-2018-2812, upgrade MySQL Server to version 5.7.22 or later.
Which versions of MySQL are affected by CVE-2018-2812?
CVE-2018-2812 affects MySQL versions 5.7.21 and earlier.
Can CVE-2018-2812 be exploited remotely?
Yes, CVE-2018-2812 allows high privileged attackers with network access to exploit the vulnerability.
What component of MySQL does CVE-2018-2812 impact?
CVE-2018-2812 impacts the MySQL Server component, specifically the Server: Optimizer subcomponent.