CVE-2016-6663

high
Published 2016-12-13 ยท Modified 2026-05-06
CVSS v3
7.0
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

Description

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.

Predictions

Exploit likelihood
69%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-40678 local linux
Dawid Golunski ยท 2016-11-01

MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'mysql' System User Privilege Escalation / Race Condition

Source code queued for fetch โ€” refresh in a moment.

OS impact

OSVersionStatusFixed in
suse slesaffected

Application impact

VendorProductVersionsFixed
oracle oraclemysql{"startIncluding":"5.5.0","endIncluding":"5.5.52"}
perconapercona_server{"startIncluding":"5.5","endExcluding":"5.5.51-38.2"}5.5.51-38.2
perconaxtradb_cluster{"startIncluding":"5.5","endExcluding":"5.5.41-37.0"}5.5.41-37.0
mysql mariadbmariadb{"startIncluding":"5.5.20","endExcluding":"5.5.52"}5.5.52
oracle oraclemysql8.0
oracle oraclemysql{"startIncluding":"5.6.0","endIncluding":"5.6.33"}
oracle oraclemysql{"startIncluding":"5.7.0","endIncluding":"5.7.15"}
mysql mariadbmariadb{"startIncluding":"10.0.0","endExcluding":"10.0.28"}10.0.28
mysql mariadbmariadb{"startIncluding":"10.1.0","endExcluding":"10.1.18"}10.1.18

References

CWEs

CWE-362

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.