CVE-2016-6663

Summary

CVECVE-2016-6663
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-12-13 21:59:00 UTC
Updated2019-03-05 18:23:00 UTC
DescriptionRace 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.

Risk And Classification

Problem Types: CWE-362

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mariadb Mariadb All All All All
Application Mariadb Mariadb All All All All
Application Oracle Mysql 8.0 All All All
Application Oracle Mysql 8.0 All All All
Application Oracle Mysql All All All All
Application Oracle Mysql All All All All
Application Oracle Mysql All All All All
Application Percona Percona Server All All All All
Application Percona Percona Server All All All All
Application Percona Xtradb Cluster All All All All
Application Percona Xtradb Cluster All All All All

References

ReferenceSourceLinkTags
MariaDB 10.1.18 Release Notes - MariaDB Knowledge Base CONFIRM mariadb.com Release Notes, Vendor Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
Bug#24388746: PRIVILEGE ESCALATION AND RACE CONDITION USING CREATE TABLE · mysql/mysql-server@4e54738 · GitHub CONFIRM github.com Issue Tracking, Patch, Third Party Advisory
RETIRED: Oracle MySQL CVE-2016-5616 Local Security Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.1 (Not yet released, Development Milestone) CONFIRM dev.mysql.com Issue Tracking, Vendor Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
oss-security - Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) MLIST www.openwall.com Mailing List, Third Party Advisory
Percona responds to CVE-2016-6663 and CVE-2016-6664 - Percona Database Performance Blog CONFIRM www.percona.com Vendor Advisory
Oracle Critical Patch Update - October 2016 CONFIRM www.oracle.com Patch, Vendor Advisory
Full Disclosure: MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] FULLDISC seclists.org Mailing List, Third Party Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
MariaDB 5.5.52 Release Notes - MariaDB Knowledge Base CONFIRM mariadb.com Release Notes, Vendor Advisory
MySQL :: MySQL 5.5 Release Notes :: Changes in MySQL 5.5.52 (2016-09-06, General Availability) CONFIRM dev.mysql.com Issue Tracking, Vendor Advisory
MariaDB 10.0.28 Release Notes - MariaDB Knowledge Base CONFIRM mariadb.com Release Notes, Vendor Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit MISC legalhackers.com Exploit, Third Party Advisory
MySQL :: MySQL 5.7 Release Notes :: Changes in MySQL 5.7.15 (2016-09-06, General Availability) CONFIRM dev.mysql.com Issue Tracking, Vendor Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com Third Party Advisory
MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'mysql' System User Privilege Escalation / Race Condition EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Oracle MySQL CVE-2016-6663 Unspecified Security Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
MySQL :: MySQL 5.6 Release Notes :: Changes in MySQL 5.6.33 (2016-09-06, General Availability) CONFIRM dev.mysql.com Issue Tracking, Vendor Advisory
don't use my_copystat in the server · MariaDB/server@347eeef · GitHub CONFIRM github.com Issue Tracking, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 378301 Virtuozzo Linux Security Update for mysql-libs (VZLSA-2017:0184)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report