CVEfocus › CVE database › CVE-2016-6663

CVE-2016-6663

CVSS 9.8 CriticalEPSS 4.3% (higher than 91% of CVEs)Published 2016-12-13Updated 2024-08-06Assigner: mitre

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.

What to do

Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
2Fix pending
2Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04mysql-8.0Not affected
vulnerable_code_not_present
Ubuntu 22.04mysql-8.0Not affected
vulnerable_code_not_present
Ubuntu 16.04mariadb-10.0Fixed10.0.28-0ubuntu0.16.04.1UBUNTU-CVE-2016-6663
Ubuntu 16.04mysql-5.7Not affected
vulnerable_code_not_present
Ubuntu 16.04percona-server-5.6Fix pendingUBUNTU-CVE-2016-6663
Ubuntu 16.04percona-xtradb-cluster-5.6Fixed5.6.34-26.19-0ubuntu0.16.04.1UBUNTU-CVE-2016-6663
Ubuntu 14.04mariadb-5.5Fixed5.5.52-1ubuntu0.14.04.1UBUNTU-CVE-2016-6663
Ubuntu 14.04mysql-5.5Fixed5.5.52-0ubuntu0.14.04.1UBUNTU-CVE-2016-6663
Ubuntu 14.04mysql-5.6Not affected
vulnerable_code_not_present
Ubuntu 14.04percona-xtradb-cluster-5.5Fix pending
Red Hat Enterprise Linux 7mariadbFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-benchFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-develFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-embeddedFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-embedded-develFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-libsFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-serverFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 7mariadb-testFixed1:5.5.52-1.el7RHSA-2016:2595
Red Hat Enterprise Linux 6mysqlFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-benchFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-develFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-embeddedFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-embedded-develFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-libsFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-serverFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 6mysql-testFixed0:5.1.73-8.el6_8RHSA-2017:0184
Red Hat Enterprise Linux 5mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 5mysql55-mysqlWill not fix
Will not fix

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.