CVE-2018-2787: Medium severity ORACLE MySQL vulnerability
Last updated 18 August 2025
Other sources
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: InnoDB). Supported versions that are affected are 5.6.39 and prior and 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: InnoDB). Supported versions that are affected are 5.6.39 and prior and 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 versions are affected by CVE-2018-2787?
CVE-2018-2787 affects MySQL versions 5.6.39 and prior and 5.7.21 and prior.
What is the severity of CVE-2018-2787?
CVE-2018-2787 is considered an easily exploitable vulnerability that allows high privileged attackers network access.
How do I fix CVE-2018-2787?
To fix CVE-2018-2787, upgrade MySQL to version 5.6.40, 5.7.22, or the corresponding patched versions of MariaDB.
Can CVE-2018-2787 be exploited remotely?
Yes, CVE-2018-2787 can be exploited by an attacker with network access via multiple protocols.
Does CVE-2018-2787 affect MariaDB?
Yes, CVE-2018-2787 affects certain versions of MariaDB such as 10.0.35 and prior, 10.1.33 and prior, and 10.2.15 and prior.