CVE-2016-6663
publishedmysql: race condition while setting stats during MyISAM table repair (CPU Oct 2016)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | mariadb-10.0 | Advisory build | 10.0.28-0+deb8u1 | DSA-3711-1 |
| Oracle Linux | 6 | mysqli686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadbsrc | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Oracle Linux | 6 | mysqlsparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysqlx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-benchi686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-benchsparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | mysql-benchx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-develi686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-develsparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-develx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-embeddedi686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-embeddedsparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-embeddedx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-embedded-develi686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-embedded-develsparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-embedded-develx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-libsi686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-libssparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-libsx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-serveri686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-serversparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-serverx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-testi686 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-testsparc64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 6 | mysql-testx86_64 | Advisory build | 0:5.1.73-8.0.1.el6_8 | ELSA-2017-0184 |
| Oracle Linux | 7 | mariadbx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-benchx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-develx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-embeddedx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-embedded-develx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-libsx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-serverx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Oracle Linux | 7 | mariadb-testx86_64 | Advisory build | 1:5.5.52-1.el7 | ELSA-2016-2595 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadbx86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadb-benchx86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadb-debuginfox86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadb-develx86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadb-libsx86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadb-serverx86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mariadb55-mariadb-testx86_64 | Advisory build | 5.5.53-1.el6 | RHSA-2016:2131 |
| Red Hat Enterprise Linux | RHEL-6 | mysqli686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysqlppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysqls390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysqlsrc | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysqlx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-benchi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-benchppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-benchs390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-benchx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-debuginfoi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-debuginfoppc | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-debuginfoppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-debuginfos390 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-debuginfos390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-debuginfox86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-develi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-develppc | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-develppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-devels390 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-devels390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-develx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embeddedi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embeddedppc | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embeddedppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embeddeds390 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embeddeds390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embeddedx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embedded-develi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embedded-develppc | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embedded-develppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embedded-devels390 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embedded-devels390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-embedded-develx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-libsi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-libsppc | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-libsppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-libss390 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-libss390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-libsx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-serveri686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-serverppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-servers390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-serverx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-testi686 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-testppc64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-tests390x | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql-testx86_64 | Advisory build | 5.1.73-8.el6_8 | RHSA-2017:0184 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysqlsrc | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysqlx86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysql-benchx86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysql-debuginfox86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysql-develx86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysql-libsx86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysql-serverx86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | mysql55-mysql-testx86_64 | Advisory build | 5.5.52-1.el6 | RHSA-2016:2130 |
| Red Hat Enterprise Linux | RHEL-6 | rh-mariadb100-mariadbsrc | Advisory build | 1:10.0.28-5.el6 | RHSA-2016:2927 |
| Red Hat Enterprise Linux | RHEL-6 | rh-mariadb100-mariadbx86_64 | Advisory build | 1:10.0.28-5.el6 | RHSA-2016:2927 |
| Red Hat Enterprise Linux | RHEL-6 | rh-mariadb100-mariadb-benchx86_64 | Advisory build | 1:10.0.28-5.el6 | RHSA-2016:2927 |
| Red Hat Enterprise Linux | RHEL-6 | rh-mariadb100-mariadb-commonx86_64 | Advisory build | 1:10.0.28-5.el6 | RHSA-2016:2927 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
24- RHSA-2016:2130 http://rhn.redhat.com/errata/RHSA-2016-2130.html
- RHSA-2016:2131 http://rhn.redhat.com/errata/RHSA-2016-2131.html
- RHSA-2016:2595 http://rhn.redhat.com/errata/RHSA-2016-2595.html
- RHSA-2016:2749 http://rhn.redhat.com/errata/RHSA-2016-2749.html
- RHSA-2016:2927 http://rhn.redhat.com/errata/RHSA-2016-2927.html
- RHSA-2016:2928 http://rhn.redhat.com/errata/RHSA-2016-2928.html
- RHSA-2017:0184 http://rhn.redhat.com/errata/RHSA-2017-0184.html
- 20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] http://seclists.org/fulldisclosure/2016/Nov/4
- [oss-security] 20161025 Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) http://www.openwall.com/lists/oss-security/2016/10/25/4
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- 92911 http://www.securityfocus.com/bid/92911
- 93614 http://www.securityfocus.com/bid/93614
- https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html
- https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html
- https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
- https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
- https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
- https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
- https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
- https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/
- https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/
- https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/
- 40678 https://www.exploit-db.com/exploits/40678/
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f201637c7104a9d11234c43200eb35f6f422b54b0e8a2173a013aaeacdebbac0
- Ingested
- 23 Sep 2026, 07:41:28 UTC
- Source record
- Official CVE record