← Vulnerability feed

Vulnerability record · CVE-2016-6663 · published 13 December 2016

CVE-2016-6663: Oracle mysql race condition vulnerability

Oracle · Mysql

Race condition in Oracle MySQL before 5.5.52, 5.6.x before 5.6.33, 5.7.x before 5.7.15, and 8.x before 8.0.1; MariaDB before 5.5.52, 10.0.x before 10.0.28, and 10.1.x before 10.1.18; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17 allows local users with certain permissions to gain privileges by leveraging use of my_copystat by REPAIR TABLE to repair a MyISAM table.

7.0 CVSS 3.0 High EPSS 4.3% · top 9.2% CWE-362 · Race condition
7.0CVSS 3.0 base score, v2 4.4
4.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
48References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Race condition in Oracle MySQL before 5.5.52, 5.6.x before 5.6.33, 5.7.x before 5.7.15, and 8.x before 8.0.1; MariaDB before 5.5.52, 10.0.x before 10.0.28, and 10.1.x before 10.1.18; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17 allows local users with certain permissions to gain privileges by leveraging use of my_copystat by REPAIR TABLE to repair a MyISAM table.

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://rhn.redhat.com/errata/RHSA-2016-2130.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2131.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2595.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2928.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0184.html Third Party Advisory
http://seclists.org/fulldisclosure/2016/Nov/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/25/4 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html PatchVendor Advisory
http://www.securityfocus.com/bid/92911 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/93614 Third Party AdvisoryVDB Entry
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html Issue TrackingVendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html Issue TrackingVendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html Issue TrackingVendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html Issue TrackingVendor Advisory
https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805 Issue TrackingPatchThird Party Advisory
https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291 Issue TrackingPatchThird Party Advisory
https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html ExploitThird Party Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/ Release NotesVendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ Release NotesVendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/ Release NotesVendor Advisory
https://www.exploit-db.com/exploits/40678/ ExploitThird Party AdvisoryVDB Entry
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ Vendor Advisory
http://rhn.redhat.com/errata/RHSA-2016-2130.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2131.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2595.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2928.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0184.html Third Party Advisory
http://seclists.org/fulldisclosure/2016/Nov/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/25/4 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html PatchVendor Advisory
http://www.securityfocus.com/bid/92911 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/93614 Third Party AdvisoryVDB Entry
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html Issue TrackingVendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html Issue TrackingVendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html Issue TrackingVendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html Issue TrackingVendor Advisory

Track CVE-2016-6663 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2012-2750Oracle mysql vulnerabilityUnspecified vulnerability in MySQL 5.5.x before 5.5.23 has unknown impact and attack vectors related to a "Security Fix", aka Bug #59533. NOTE: this …EPSS 3.6%10.0CVE-2004-0836Oracle mysql memory buffer overflow vulnerabilityBuffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of…EPSS 9.8%9.9CVE-2026-32710Mariadb heap-based buffer overflow vulnerabilityMariaDB server is a community developed fork of MySQL server. An authenticated user can crash MariaDB versions 11.4 before 11.4.10 and 11.8 before 11…EPSS 0.80%9.8CVE-2026-49261Mariadb os command injection vulnerabilityMariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through 10.11.17, 11.4.1 through 11.4.11, 11.8…EPSS 1.7%9.8CVE-2023-26785Mariadb code injection vulnerabilityMariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a "create funct…EPSS 2.2%9.8CVE-2020-26542Percona server improper authentication vulnerabilityAn issue was discovered in the MongoDB Simple LDAP plugin through 2020-10-02 for Percona Server when using the SimpleLDAP authentication in conjuncti…EPSS 1.5%9.8CVE-2020-11656Sqlite use after free vulnerabilityIn SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELEC…EPSS 7.6%9.8CVE-2019-14540Fasterxml jackson-databind deserialization of untrusted data vulnerabilityA Polymorphic Typing issue was discovered in FasterXML jackson-databind before 2.9.10. It is related to com.zaxxer.hikari.HikariConfig.EPSS 11%

Source: NIST National Vulnerability Database (record CVE-2016-6663), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.