Home / Oracle / Mysql / CVE-2016-6663
CVE-2016-6663: is it exploited, and which versions of Oracle Mysql are affected and fixed?
CVE-2016-6663 is a race condition vulnerability in Oracle Mysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: mysql from 5.5.0 through 5.5.52, mysql from 5.6.0 through 5.6.33, mysql from 5.7.0 through 5.7.15 and 10 more (NVD). Fixed in 5.5.51-38.2, 5.6.32-78.1, 5.7.14-8, 5.5.41-37.0 and 2 more (NVD). Severity: High (7.0, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-6663?
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.
From the CVE record by mitre, last updated August 6, 2024, 01:36 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| oracle | mysql | from 5.5.0 through 5.5.52 | application |
| oracle | mysql | from 5.6.0 through 5.6.33 | application |
| oracle | mysql | from 5.7.0 through 5.7.15 | application |
| percona | percona server | from 5.5 before 5.5.51-38.2 | application |
| percona | percona server | from 5.6 before 5.6.32-78.1 | application |
| percona | percona server | from 5.7 before 5.7.14-8 | application |
| percona | xtradb cluster | from 5.5 before 5.5.41-37.0 | application |
| percona | xtradb cluster | from 5.6 before 5.6.32-25.17 | application |
| percona | xtradb cluster | from 5.7 before 5.7.14-26.17 | application |
| mariadb | mariadb | from 5.5.20 before 5.5.52 | application |
| mariadb | mariadb | from 10.0.0 before 10.0.28 | application |
| mariadb | mariadb | from 10.1.0 before 10.1.18 | application |
| oracle | mysql | 8.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:51 UTC.
How severe is CVE-2016-6663?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.4 | CVSS 2.0 | AV:L/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-6663 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.31% probability of exploitation activity in the next 30 days, percentile 91.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Where are the vendor advisories and references?
- RHSA-2016:2749 vendor-advisory, x_refsource_REDHAT
- https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html x_refsource_CONFIRM
- RHSA-2017:0184 vendor-advisory, x_refsource_REDHAT
- 20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] mailing-list, x_refsource_FULLDISC
- RHSA-2016:2131 vendor-advisory, x_refsource_REDHAT
- https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291 x_refsource_CONFIRM
- https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/ x_refsource_CONFIRM
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html x_refsource_CONFIRM
- 40678 exploit, x_refsource_EXPLOIT-DB
- RHSA-2016:2130 vendor-advisory, x_refsource_REDHAT
- RHSA-2016:2927 vendor-advisory, x_refsource_REDHAT
- [oss-security] 20161025 Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) mailing-list, x_refsource_MLIST
- https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html x_refsource_CONFIRM
- 92911 vdb-entry, x_refsource_BID
- 93614 vdb-entry, x_refsource_BID
- RHSA-2016:2595 vendor-advisory, x_refsource_REDHAT
- https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html x_refsource_CONFIRM
- https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ x_refsource_CONFIRM
- https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html x_refsource_CONFIRM
- https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805 x_refsource_CONFIRM
- RHSA-2016:2928 vendor-advisory, x_refsource_REDHAT
- https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/ x_refsource_CONFIRM
- https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 10, 2016
- Published
- December 13, 2016, 21:00 UTC
- CVE record updated
- August 6, 2024, 01:36 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:51 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mysql?
- Apr 9, 2020CVE-2020-11655 Sqlite: improper initialization
- Apr 9, 2020CVE-2020-11656 Sqlite: use after free
- Feb 4, 2019CVE-2019-7317 Libpng: use after free
- Oct 17, 2018CVE-2018-3145 Oracle Mysql: n/a
- Jan 18, 2018CVE-2018-2640 Oracle Mysql: n/a
- Oct 19, 2017CVE-2017-10379 Oracle Mysql: incorrect authorization
- Oct 19, 2017CVE-2017-10286 Oracle Mysql: n/a
- Aug 8, 2017CVE-2017-3649 Oracle Mysql: n/a
Questions about CVE-2016-6663
Is CVE-2016-6663 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 4.31% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Oracle Mysql are affected by CVE-2016-6663?
mysql from 5.5.0 through 5.5.52, mysql from 5.6.0 through 5.6.33, mysql from 5.7.0 through 5.7.15, percona server from 5.5 before 5.5.51-38.2, percona server from 5.6 before 5.6.32-78.1, percona server from 5.7 before 5.7.14-8 and 7 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-6663?
5.5.51-38.2, 5.6.32-78.1, 5.7.14-8, 5.5.41-37.0, 5.6.32-25.17 and 5.7.14-26.17, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-6663?
High (7.0, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-6663?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.