CVE-2016-6664: mariadb
Vulnerability summary
CVE-2016-6664 is a high (CVSS 7.0) vulnerability in mariadb. EPSS estimates a 2.97% chance of exploitation in the next 30 days, higher than 87.2% of scored vulnerabilities. 3 public exploits are recorded.
Public exploit (exploit-database, 01-11-2016)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Duplicates 1 · Related 5Timeline
- 13-12-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; 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, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.97%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.97% 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
3 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (legalhackers.com)
Maturity: unknown
MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'root' System User Privilege Escalation
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.
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
Ubuntu2 products
- mariadb-10.0< 10.0.29-0ubuntu0.16.04.1
- mysql-5.5< 5.5.52-0ubuntu0.14.04.1
Alpine1 product
- mariadb≥ 5.5.0, < 10.1.21-r0
Mariadb1 product
- mariadb≥ 5.5.0, < 5.5.54 | ≥ 10.0.0, < 10.0.29 | ≥ 10.1.0, < 10.1.21
Oracle1 product
- mysql≥ 5.5.0, ≤ 5.5.51 | ≥ 5.6.0, ≤ 5.6.32 | ≥ 5.7.0, ≤ 5.7.14
5 vendors · 7 products
References
20 links- www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/X Refsource CONFIRMVendor Advisory
- www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlX Refsource CONFIRMPatchVendor Advisory
- www.securityfocus.com/archive/1/539695/100/0/threadedMailing ListX Refsource BUGTRAQThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
Show all 20 references
- legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.htmlX Refsource MISCExploitThird Party AdvisoryREPORT