CVE-2016-6663 json
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…
published 2016-12-13 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7566
- cvss
- 7.0
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- percona percona_server 5.5.51-38.2, 5.6.32-78.1, 5.7.14-8
- percona xtradb_cluster 5.5.41-37.0, 5.6.32-25.17, 5.7.14-26.17
- mariadb mariadb 5.5.52, 10.0.28, 10.1.18
- mysql-5.5 Ubuntu 14.04 LTS 5.5.52-0ubuntu0.14.04.1
- mariadb-5.5 Ubuntu 14.04 LTS 5.5.52-1ubuntu0.14.04.1
- mariadb-10.0 Ubuntu 16.04 LTS 10.0.28-0ubuntu0.16.04.1
- percona-xtradb-cluster-5.6 Ubuntu 16.04 LTS 5.6.34-26.19-0ubuntu0.16.04.1
ubuntu advisories UBUNTU-CVE-2016-6663
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- mysql55-mysql RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el6
- mysql55-mysql RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el7
- mysql55-mysql-libs RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el6
- mysql55-mysql-libs RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el7
- mysql55-mysql-test RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el6
- mysql55-mysql-test RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el7
- mysql55-mysql-bench RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el6
- mysql55-mysql-bench RHEL 2 SOFTWARE_COLLECTIONS 5.5.52-1.el7
red hat advisories RHSA-2016:2130RHSA-2016:2749RHSA-2017:0184RHSA-2016:2131RHSA-2016:2928RHSA-2016:2927
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +8 more 10.0.28-17.2
- mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
- python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7
- mariadb SLES for SAP 12, SLES 12-LTSS 10.0.28-20.16.2
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1SUSE-SU-2016:2932-1SUSE-SU-2016:2933-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-6663 updated cvss 7.0
mysql: race condition while setting stats during MyISAM table repair (CPU Oct 2016)
-
Red Hat Enterprise Linux 5 mysql, mysql55-mysql Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) mariadb-galera Red Hat Enterprise Linux OpenStack Platform 6 (Juno) mariadb-galera Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) mariadb-galera, mariadb-galera-common, mariadb-galera-server Red Hat OpenStack Platform 8 (Liberty) mariadb-galera, mariadb-galera-common, mariadb-galera-server Red Hat OpenStack Platform 9 (Mitaka) mariadb-galera, mariadb-galera-common, mariadb-galera-serveraffected: no fix planned “Will not fix”
+3 more productsfewer
Red Hat OpenStack Platform 10 (Newton) mariadb-galera, mariadb-galera-common, mariadb-galera-server Red Hat OpenStack Platform 11 (Ocata) mariadb-galera Red Hat OpenStack Platform 12 (Pike) mariadb-galera-common, mariadb-galera-server -
Red Hat Mobile Application Platform 4 millicoreunder investigation
-
Red Hat Enterprise Linux Client (v. 7) mariadb 5.5.52-1.el7, mariadb-libs 5.5.52-1.el7, mariadb-server 5.5.52-1.el7 Red Hat Enterprise Linux Client Optional (v. 7) mariadb-test 5.5.52-1.el7, mariadb-bench 5.5.52-1.el7, mariadb-embedded 5.5.52-1.el7 Red Hat Enterprise Linux ComputeNode (v. 7) mariadb 5.5.52-1.el7, mariadb-libs 5.5.52-1.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) mariadb-test 5.5.52-1.el7, mariadb-bench 5.5.52-1.el7, mariadb-server 5.5.52-1.el7, mariadb-embedded 5.5.52-1.el7fixed: vendor fix RHSA-2016:2595
-
Red Hat Enterprise Linux Desktop (v. 6) mysql 5.1.73-8.el6_8, mysql-libs 5.1.73-8.el6_8, mysql-server 5.1.73-8.el6_8 Red Hat Enterprise Linux Desktop Optional (v. 6) mysql-test 5.1.73-8.el6_8, mysql-bench 5.1.73-8.el6_8, mysql-embedded 5.1.73-8.el6_8 Red Hat Enterprise Linux HPC Node (v. 6) mysql 5.1.73-8.el6_8, mysql-libs 5.1.73-8.el6_8 Red Hat Enterprise Linux HPC Node Optional (v. 6) mysql-test 5.1.73-8.el6_8, mysql-bench 5.1.73-8.el6_8, mysql-server 5.1.73-8.el6_8, mysql-embedded 5.1.73-8.el6_8 Red Hat Enterprise Linux Server (v. 6) mysql 5.1.73-8.el6_8, mysql-libs 5.1.73-8.el6_8, mysql-test 5.1.73-8.el6_8, mysql-bench 5.1.73-8.el6_8, mysql-server 5.1.73-8.el6_8fixed: vendor fix RHSA-2017:0184
-
Red Hat Enterprise Linux Server (v. 7) mariadb 5.5.52-1.el7, mariadb-libs 5.5.52-1.el7, mariadb-test 5.5.52-1.el7, mariadb-bench 5.5.52-1.el7, mariadb-server 5.5.52-1.el7fixed: vendor fix RHSA-2016:2595
-
Red Hat Enterprise Linux Server Optional (v. 6) mysql-embedded 5.1.73-8.el6_8fixed: vendor fix RHSA-2017:0184
-
Red Hat Enterprise Linux Server Optional (v. 7) mariadb-embedded 5.5.52-1.el7fixed: vendor fix RHSA-2016:2595
-
Red Hat Enterprise Linux Workstation (v. 6) mysql 5.1.73-8.el6_8, mysql-libs 5.1.73-8.el6_8, mysql-test 5.1.73-8.el6_8, mysql-bench 5.1.73-8.el6_8, mysql-server 5.1.73-8.el6_8fixed: vendor fix RHSA-2017:0184
show 7 moreshow fewer
-
Red Hat Enterprise Linux Workstation (v. 7) mariadb 5.5.52-1.el7, mariadb-libs 5.5.52-1.el7, mariadb-test 5.5.52-1.el7, mariadb-bench 5.5.52-1.el7, mariadb-server 5.5.52-1.el7fixed: vendor fix RHSA-2016:2595
-
Red Hat Enterprise Linux Workstation Optional (v. 6) mysql-embedded 5.1.73-8.el6_8fixed: vendor fix RHSA-2017:0184
-
Red Hat Enterprise Linux Workstation Optional (v. 7) mariadb-embedded 5.5.52-1.el7fixed: vendor fix RHSA-2016:2595
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) mysql55-mysql 5.5.52-1.el6, rh-mysql56-mysql 5.6.34-2.el6, mariadb55-mariadb 5.5.53-1.el6, mysql55-mysql-libs 5.5.52-1.el6, mysql55-mysql-test 5.5.52-1.el6, mysql55-mysql-bench 5.5.52-1.el6, +28 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) mysql55-mysql 5.5.52-1.el7, rh-mysql56-mysql 5.6.34-2.el7, mariadb55-mariadb 5.5.53-1.el7, mysql55-mysql-libs 5.5.52-1.el7, mysql55-mysql-test 5.5.52-1.el7, mysql55-mysql-bench 5.5.52-1.el7, +28 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) mysql55-mysql 5.5.52-1.el6, mariadb55-mariadb 5.5.53-1.el6, mysql55-mysql-libs 5.5.52-1.el6, mysql55-mysql-test 5.5.52-1.el6, mysql55-mysql-bench 5.5.52-1.el6, mysql55-mysql-server 5.5.52-1.el6, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) mysql55-mysql 5.5.52-1.el6, rh-mysql56-mysql 5.6.34-2.el6, mariadb55-mariadb 5.5.53-1.el6, mysql55-mysql-libs 5.5.52-1.el6, mysql55-mysql-test 5.5.52-1.el6, mysql55-mysql-bench 5.5.52-1.el6, +28 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) mysql55-mysql 5.5.52-1.el7, rh-mysql56-mysql 5.6.34-2.el7, mariadb55-mariadb 5.5.53-1.el7, mysql55-mysql-libs 5.5.52-1.el7, mysql55-mysql-test 5.5.52-1.el7, mysql55-mysql-bench 5.5.52-1.el7, +11 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) mysql55-mysql 5.5.52-1.el7, rh-mysql56-mysql 5.6.34-2.el7, mariadb55-mariadb 5.5.53-1.el7, mysql55-mysql-libs 5.5.52-1.el7, mysql55-mysql-test 5.5.52-1.el7, mysql55-mysql-bench 5.5.52-1.el7, +28 morefixed: vendor fix RHSA-2016:2131
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-mariadb100-mariadb 10.0.28-5.el7, rh-mariadb101-mariadb 10.1.19-6.el7, rh-mariadb100-mariadb-test 10.0.28-5.el7, rh-mariadb101-mariadb-test 10.1.19-6.el7, rh-mariadb100-mariadb-bench 10.0.28-5.el7, rh-mariadb101-mariadb-bench 10.1.19-6.el7, +11 morefixed: vendor fix RHSA-2016:2927
-
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) mysql55-mysql 5.5.52-1.el6, rh-mysql56-mysql 5.6.34-2.el6, mariadb55-mariadb 5.5.53-1.el6, mysql55-mysql-libs 5.5.52-1.el6, mysql55-mysql-test 5.5.52-1.el6, mysql55-mysql-bench 5.5.52-1.el6, +28 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) mysql55-mysql 5.5.52-1.el7, rh-mysql56-mysql 5.6.34-2.el7, mariadb55-mariadb 5.5.53-1.el7, mysql55-mysql-libs 5.5.52-1.el7, mysql55-mysql-test 5.5.52-1.el7, mysql55-mysql-bench 5.5.52-1.el7, +28 morefixed: vendor fix RHSA-2016:2131
-
Red Hat Software Collections rh-mysql57-mysql, rh-mysql57-mysql-test, rh-mysql57-mysql-common, rh-mysql57-mysql-config, rh-mysql57-mysql-errmsg, rh-mysql57-mysql-servernot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-40678)
- Published
Exploit prediction
4.31% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-40678 MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'mysql' System User Privilege Escalation / Race Condition local, 2016-11-01
- legalhackers.com https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
github.com
/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
issue-tracking, patch, third-party-advisory
-
github.com
/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
issue-tracking, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuoct2016-2881722.html
patch, vendor-advisory
-
exploit-db.com
/exploits/40678/
exploit, third-party-advisory, vdb-entry
-
legalhackers.com
/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
exploit, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2749.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2017-0184.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2131.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2130.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2927.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2595.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2928.html
vendor-advisory, third-party-advisory
-
dev.mysql.com
/doc/relnotes/mysql/5.5/en/news-5-5-52.html
issue-tracking, vendor-advisory
-
mariadb.com
/kb/en/mariadb/mariadb-5552-release-notes/
release-notes, vendor-advisory
-
percona.com
/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/
vendor-advisory
-
dev.mysql.com
/doc/relnotes/mysql/5.6/en/news-5-6-33.html
issue-tracking, vendor-advisory
-
dev.mysql.com
/doc/relnotes/mysql/8.0/en/news-8-0-1.html
issue-tracking, vendor-advisory
-
mariadb.com
/kb/en/mariadb/mariadb-10118-release-notes/
release-notes, vendor-advisory
-
dev.mysql.com
/doc/relnotes/mysql/5.7/en/news-5-7-15.html
issue-tracking, vendor-advisory
-
mariadb.com
/kb/en/mariadb/mariadb-10028-release-notes/
release-notes, vendor-advisory
-
seclists.org
/fulldisclosure/2016/Nov/4
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2016/10/25/4
mailing-list, third-party-advisory
-
securityfocus.com
/bid/92911
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/93614
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-6663
- NVD CVE-2016-6663
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.