CVE-2016-6663: mariadb
Vulnerability summary
CVE-2016-6663 is a high (CVSS 7.0) vulnerability in mariadb. EPSS estimates a 4.31% chance of exploitation in the next 30 days, higher than 91.1% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (exploit-database, 01-11-2016)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Duplicates 1 · Related 6Timeline
- 13-12-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.31%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.31% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (legalhackers.com)
Maturity: unknown
MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'mysql' System User Privilege Escalation / Race Condition
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard6 products
- mysql-8.0< 8.0.38-r0
- mysql-8.0-client< 8.0.38-r0
- mysql-8.0-dev< 8.0.38-r0
- mysql-8.0-iamguarded-compat< 8.0.38-r0
- mysql-8.0-oci-entrypoint< 8.0.38-r0
Ubuntu5 products
- mariadb-10.0< 10.0.28-0ubuntu0.16.04.1
- mariadb-5.5< 5.5.52-1ubuntu0.14.04.1
- mysql-5.5< 5.5.52-0ubuntu0.14.04.1
- percona-server-5.6All versions (No fix recorded)
- percona-xtradb-cluster-5.6< 5.6.34-26.19-0ubuntu0.16.04.1
Percona2 products
- percona_server≥ 5.5, < 5.5.51-38.2 | ≥ 5.6, < 5.6.32-78.1 | ≥ 5.7, < 5.7.14-8
- xtradb_cluster≥ 5.5, < 5.5.41-37.0 | ≥ 5.6, < 5.6.32-25.17 | ≥ 5.7, < 5.7.14-26.17
Mariadb1 product
- mariadb≥ 5.5.20, < 5.5.52 | ≥ 10.0.0, < 10.0.28 | ≥ 10.1.0, < 10.1.18
Oracle1 product
- mysqlEOL≥ 5.5.0, ≤ 5.5.52 | ≥ 5.6.0, ≤ 5.6.33 | ≥ 5.7.0, ≤ 5.7.15 | 8.0
5 vendors · 15 products
References
27 links- rhn.redhat.com/errata/RHSA-2016-2749.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.htmlX Refsource CONFIRMIssue TrackingVendor AdvisoryREPORT
- rhn.redhat.com/errata/RHSA-2017-0184.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- rhn.redhat.com/errata/RHSA-2016-2131.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291X Refsource CONFIRMIssue TrackingPatchThird Party AdvisoryFIX
- mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/X Refsource CONFIRMRelease NotesVendor AdvisoryAdvisory
- www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/X Refsource CONFIRMVendor AdvisoryAdvisory
- www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlX Refsource CONFIRMPatchVendor AdvisoryFIX
- www.exploit-db.com/exploits/40678/ExploitX Refsource EXPLOIT DBThird Party AdvisoryVDB EntryEVIDENCE
Show all 27 references
- rhn.redhat.com/errata/RHSA-2016-2130.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- rhn.redhat.com/errata/RHSA-2016-2927.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- www.openwall.com/lists/oss-security/2016/10/25/4Mailing ListX Refsource MLISTThird Party AdvisoryAdvisory
- dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.htmlX Refsource CONFIRMIssue TrackingVendor AdvisoryREPORT
- rhn.redhat.com/errata/RHSA-2016-2595.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.htmlX Refsource CONFIRMIssue TrackingVendor AdvisoryREPORT
- mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/X Refsource CONFIRMRelease NotesVendor AdvisoryAdvisory
- dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.htmlX Refsource CONFIRMIssue TrackingVendor AdvisoryREPORT
- github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805X Refsource CONFIRMIssue TrackingPatchThird Party AdvisoryFIX
- rhn.redhat.com/errata/RHSA-2016-2928.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/X Refsource CONFIRMRelease NotesVendor AdvisoryAdvisory
- legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.htmlX Refsource MISCExploitThird Party AdvisoryEVIDENCE