CVE-2018-2665: Medium severity Oracle MySQL vulnerability
Last updated 18 August 2025
Other sources
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Optimizer). Supported versions that are affected are 5.5.58 and prior, 5.6.38 and prior and 5.7.20 and prior. Easily exploitable vulnerability allows low 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.
External References:
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
— Red Hat
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Optimizer). Supported versions that are affected are 5.5.58 and prior, 5.6.38 and prior and 5.7.20 and prior. Easily exploitable vulnerability allows low 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.0 Base Score 6.5 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2018-2665?
CVE-2018-2665 is classified as an easily exploitable vulnerability that affects multiple versions of MySQL and MariaDB.
How do I fix CVE-2018-2665?
To fix CVE-2018-2665, upgrade to MySQL version 5.5.59, 5.6.39, or 5.7.21, or the corresponding secure versions of MariaDB.
Which versions of MySQL are affected by CVE-2018-2665?
CVE-2018-2665 affects MySQL versions 5.5.58 and prior, 5.6.38 and prior, and 5.7.20 and prior.
Are MariaDB versions affected by CVE-2018-2665?
Yes, MariaDB versions 5.5.58 and prior, 10.0.33 and prior, 10.1.30 and prior, and 10.2.12 and prior are affected by CVE-2018-2665.
What is the potential impact of exploiting CVE-2018-2665?
Exploiting CVE-2018-2665 may allow a low-privileged attacker with network access to compromise vulnerable systems.