CVE-2016-6663

Exp

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.

Published: 2016-12-13 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-6663 is rated High Exploit Risk (76.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 4.31%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.66% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2016-6663

EDB-ID Source Kind Published Link
40678 exploit_db edb 2016-11-01 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2016-6663

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.65% 4.31% +1.66%
2 2026-06-14 2.61% 2.65% +0.05%
3 2026-05-24 2.61%

Full EPSS history (33 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-6663

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.0 3.0 HIGH
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.0 5.9 [email protected]
4.4 2.0 MEDIUM
AV:L/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
3.4 6.4 [email protected]

Weakness enumeration for CVE-2016-6663

OS Trackers for CVE-2016-6663

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2016-6663
suse medium CVE-2016-6663 severity moderate: SUSE including 144 source package names (4.0.0:libmysqlclient18-10.0.28-17.2, beta1:libmysqlclient18-10.0.28-17.2, …), 303 product×package rows across 46 product lines (Container caasp/v4/salt-master, Container caasp/v4/velum, … (46 product lines)): Fixed 303. https://www.suse.com/security/cve/CVE-2016-6663/
ubuntu medium CVE-2016-6663 medium priority: Ubuntu including 9 source packages (mariadb-10.0, mariadb-5.5, …), 203 status rows across 24 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, precise, questing, trusty, upstream, vivid, xenial, yakkety, zesty): DNE 163, not-affected 20, released 10, needs-triage 6, ignored 3, needed 1. https://ubuntu.com/security/CVE-2016-6663

Affected software / configurations for CVE-2016-6663

Vendor Product Version Raw CPE
oracle mysql >= 5.5.0, <= 5.5.52 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle mysql >= 5.6.0, <= 5.6.33 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle mysql >= 5.7.0, <= 5.7.15 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
percona percona_server >= 5.5, < 5.5.51-38.2 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona percona_server >= 5.6, < 5.6.32-78.1 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona percona_server >= 5.7, < 5.7.14-8 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona xtradb_cluster >= 5.5, < 5.5.41-37.0 cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
percona xtradb_cluster >= 5.6, < 5.6.32-25.17 cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
percona xtradb_cluster >= 5.7, < 5.7.14-26.17 cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
mariadb mariadb >= 5.5.20, < 5.5.52 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.0.0, < 10.0.28 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.1.0, < 10.1.18 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
oracle mysql 8.0 cpe:2.3:a:oracle:mysql:8.0:*:*:*:*:*:*:*

References for CVE-2016-6663

URL Tags
http://rhn.redhat.com/errata/RHSA-2016-2130.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2131.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2595.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2928.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0184.html Third Party Advisory
http://seclists.org/fulldisclosure/2016/Nov/4 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/25/4 Mailing List Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html Patch Vendor Advisory
http://www.securityfocus.com/bid/92911 Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/93614 Third Party Advisory VDB Entry
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html Issue Tracking Vendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html Issue Tracking Vendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html Issue Tracking Vendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html Issue Tracking Vendor Advisory
https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805 Issue Tracking Patch Third Party Advisory
https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291 Issue Tracking Patch Third Party Advisory
https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html Exploit Third Party Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/ Release Notes Vendor Advisory
https://www.exploit-db.com/exploits/40678/ Exploit Third Party Advisory VDB Entry
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ Vendor Advisory
cvelogic Threat Intelligence