CVE-2018-2640: Medium severity Oracle MySQL vulnerability

Published Jan 17, 2018
·
Updated

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

40 affected componentsFixes available
redhat/mysql<5.5.59
5.5.59
redhat/mysql<5.6.39
5.6.39
redhat/mysql<5.7.21
5.7.21
redhat/mariadb<5.5.59
5.5.59
redhat/mariadb<10.2.13
10.2.13
redhat/mariadb<10.1.31
10.1.31
redhat/mariadb<10.0.34
10.0.34
debian/mariadb-10.0
debian/mysql-5.5
debian/mysql-5.7
Oracle MySQL>=5.5.0<=5.5.58
Oracle MySQL>=5.6.0<=5.6.38
Oracle MySQL>=5.7.0<=5.7.20
MariaDB MariaDB>=5.5.0<5.5.59
MariaDB MariaDB>=10.0.0<10.0.34
MariaDB MariaDB>=10.1.0<10.1.31
MariaDB MariaDB>=10.2.0<10.2.13
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
NetApp Active Iq Unified Manager Windows>=7.3
NetApp Active Iq Unified Manager Vmware Vsphere>=9.5
NetApp OnCommand Insight
NetApp OnCommand Workflow Automation
NetApp Snapcenter
redhat Openstack=12
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=7.0

Event History

Jan 18, 2018
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Data Sourced
via NVD·02:29 AM
RemedyDescriptionSeverityAffected Software
Aug 5, 2024
Data Sourced
via Launchpad·04:33 AM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·07:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-2640?

CVE-2018-2640 is classified as an easily exploitable vulnerability which allows low privileged attackers to potentially gain unauthorized access.

2

How do I fix CVE-2018-2640?

To fix CVE-2018-2640, upgrade MySQL to versions 5.5.59, 5.6.39, or 5.7.21 or later.

3

Which MySQL versions are affected by CVE-2018-2640?

The affected MySQL versions are 5.5.58 and prior, 5.6.38 and prior, and 5.7.20 and prior.

4

Does CVE-2018-2640 affect MariaDB as well?

Yes, CVE-2018-2640 affects certain MariaDB versions including 5.5.59, 10.0.34, 10.1.31, and 10.2.13.

5

What kinds of systems are vulnerable to CVE-2018-2640?

CVE-2018-2640 can impact systems running vulnerable versions of MySQL and MariaDB, commonly used in various database applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203