CVE-2016-6663

Public Exploit

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.

Category

7.0
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 2.04% Top 20%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory oracle.com Vendor Advisory mysql.com Vendor Advisory mysql.com Vendor Advisory mysql.com Vendor Advisory mysql.com Vendor Advisory mariadb.com Vendor Advisory mariadb.com Vendor Advisory mariadb.com Vendor Advisory percona.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://rhn.redhat.com/errata/RHSA-2016-2749.html third party advisory vendor advisory
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html vendor advisory issue tracking
http://rhn.redhat.com/errata/RHSA-2017-0184.html third party advisory vendor advisory
http://seclists.org/fulldisclosure/2016/Nov/4 third party advisory mailing list
http://rhn.redhat.com/errata/RHSA-2016-2131.html third party advisory vendor advisory
https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291 patch third party advisory issue tracking
https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/ release notes vendor advisory
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ vendor advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html patch vendor advisory
https://www.exploit-db.com/exploits/40678/ third party advisory vdb entry exploit
http://rhn.redhat.com/errata/RHSA-2016-2130.html third party advisory vendor advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2016/10/25/4 third party advisory mailing list
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html vendor advisory issue tracking
http://www.securityfocus.com/bid/92911 third party advisory vdb entry
http://www.securityfocus.com/bid/93614 third party advisory vdb entry
http://rhn.redhat.com/errata/RHSA-2016-2595.html third party advisory vendor advisory
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html vendor advisory issue tracking
https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ release notes vendor advisory
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html vendor advisory issue tracking
https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805 patch third party advisory issue tracking
http://rhn.redhat.com/errata/RHSA-2016-2928.html third party advisory vendor advisory
https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/ release notes vendor advisory
https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html third party advisory exploit

Frequently Asked Questions

What is the severity of CVE-2016-6663?
CVE-2016-6663 has been scored as a high severity vulnerability.
How to fix CVE-2016-6663?
To fix CVE-2016-6663, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2016-6663 being actively exploited in the wild?
It is possible that CVE-2016-6663 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.