{"id":"CVE-2016-6663","published":"2016-12-13T21:00:00Z","modified":"2024-08-06T01:36:29Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04313,"percentile":0.91386,"provenance":"source"},"cwes":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2016-2749.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0184.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://seclists.org/fulldisclosure/2016/Nov/4","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2131.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291","tags":["x_refsource_CONFIRM"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/40678/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2130.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2927.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/25/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/92911","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/bid/93614","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2595.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html","tags":["x_refsource_CONFIRM"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/","tags":["x_refsource_CONFIRM"]},{"url":"https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2928.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/","tags":["x_refsource_CONFIRM"]},{"url":"https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.28},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-11-01"},"pocGithub":{"count":1,"skipped":0,"earliest":"2016-11-02","earliestUrl":"https://github.com/firebroo/CVE-2016-6663","repos":[{"name":"firebroo/CVE-2016-6663","url":"https://github.com/firebroo/CVE-2016-6663","stars":5,"created":"2016-11-02"}]},"first":{"date":"2016-11-01","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/40678"},"provenance":"source"},"summary":{"text":"A race condition in the MyISAM table repair code of Oracle MySQL, MariaDB, and Percona Server and XtraDB Cluster affects the affected versions listed for each product, with the flaw lying in the use of my_copystat by REPAIR TABLE when repairing a MyISAM table. An attacker who is a local user holding certain permissions can gain privileges by exploiting this race during a REPAIR TABLE operation on a MyISAM table.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:10:47Z"},"euvd":{"id":"EUVD-2016-7566","exploited":false,"provenance":"source"},"exploits":[{"id":40678,"url":"https://www.exploit-db.com/exploits/40678","title":"MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'mysql' System User Privilege Escalation / Race Condition","date":"2016-11-01","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/40678/"]}