CVE-2016-6663
Reported by mitre · Published December 13, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mysql-8.0 | Chainguard | 8.0.38-r0 |
| mariadb-10.0 | Ubuntu:16.04:LTS | 10.0.28-0ubuntu0.16.04.1 |
| mysql | oracle | 5.7.15, 5.6.33, 5.5.52 |
| mysql-5.5 | Ubuntu:14.04:LTS | 5.5.52-0ubuntu0.14.04.1 |
| xtradb_cluster | percona | 5.7.14-26.17, 5.6.32-25.17, 5.5.41-37.0 |
| percona_server | percona | 5.7.14-8, 5.6.32-78.1, 5.5.51-38.2 |
| mariadb | mariadb | 10.1.18, 10.0.28, 5.5.52 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Oracle | MySQL | |
| chainguard | mysql-8.0 | 0 |
| n/a | n/a | * |
Timeline
- Sep 11, 2016 PoC Published (3 in total, the first dated here)
- Nov 3, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-6663
vulnetix vdb fixes CVE-2016-6663
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-6663/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2016:2749 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2017:0184 vendor-advisoryx_refsource_REDHAT
- 20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] mailing-listx_refsource_FULLDISC
- RHSA-2016:2131 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 40678 exploitx_refsource_EXPLOIT-DB
- RHSA-2016:2130 vendor-advisoryx_refsource_REDHAT
- RHSA-2016:2927 vendor-advisoryx_refsource_REDHAT
- [oss-security] 20161025 Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- 92911 vdb-entryx_refsource_BID
- 93614 vdb-entryx_refsource_BID
- RHSA-2016:2595 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
…and 4 more