CVE-2016-6663 in Mariadb and 3 more products
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,...
Affects 4 products from 3 vendors. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mariadb | Mariadb | ≥ 5.5.20, < 5.5.52 ≥ 10.0.0, < 10.0.28 ≥ 10.1.0, < 10.1.18 |
| Oracle | Mysql | 8.0 ≥ 5.5.0, ≤ 5.5.52 ≥ 5.6.0, ≤ 5.6.33 ≥ 5.7.0, ≤ 5.7.15 |
| Percona | Percona Server | ≥ 5.5, < 5.5.51-38.2 ≥ 5.6, < 5.6.32-78.1 ≥ 5.7, < 5.7.14-8 |
| Percona | Xtradb Cluster | ≥ 5.5, < 5.5.41-37.0 ≥ 5.6, < 5.6.32-25.17 ≥ 5.7, < 5.7.14-26.17 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-6663 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-190735-H |
| CVSS vector | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-12-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A race condition vulnerability exists in multiple versions of Oracle MySQL, MariaDB, and Percona Server/Percona XtraDB Cluster, which could allow local users with certain privileges to potentially escalate their privileges or cause a denial of service.", "attack_vector_detail": "The vulnerability is a race condition that can be exploited by local users with specific privileges to manipulate file permissions or cause a crash, potentially leading to privilege escalation or denial of service.", "affected_components": [ "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.
Questions
What is CVE-2016-6663?
{ "executive_summary": "A race condition vulnerability exists in multiple versions of Oracle MySQL, MariaDB, and Percona Server/Percona XtraDB Cluster, which could allow local users with certain privileges to potentially escalate their privileges or cause a denial of service.", "attack_vector_detail": "The vulnerability is a race condition that can be exploited by local users with specific privileges to manipulate file permissions or cause a crash, potentially leading to privilege escalation
What is the CVSS score for CVE-2016-6663?
CVE-2016-6663 has CVSS 7.0 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 4.3%.
Is CVE-2016-6663 actively exploited?
Public exploit available for CVE-2016-6663. Exploitation risk elevated.
How do I remediate CVE-2016-6663?
Advisory: https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/ PSIRT: [email protected]
What systems are affected by CVE-2016-6663?
CVE-2016-6663 affects Mariadb Mariadb; Oracle Mysql; Percona Percona Server, Xtradb Cluster.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mariadb","product":"Mariadb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.