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.
Conclusion & alert: CVE-2016-6664 is rated High Exploit Risk (68.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.08%). Core evidence: 4 public exploit reference(s) are indexed (Exploit-DB). 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.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 40679 | exploit_db | edb | 2016-11-01 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
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 | 62.12% | 3.08% | -59.04% |
| 2 | 2026-05-26 | 65.91% | 62.12% | -3.79% |
| 3 | 2026-05-24 | — | 65.91% | — |
Full EPSS history (31 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.0 | 3.1 | HIGH |
|
1.0 | 5.9 | [email protected] |
| 6.9 | 2.0 | MEDIUM |
|
3.4 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2016-6664: 1 source package rows (mariadb); 10 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 0. | https://security.alpinelinux.org/vuln/CVE-2016-6664 |
gentoo
|
high | CVE-2016-6664: 1 GLSA(s) (201702-18), 1 atom(s) (dev-db/mariadb); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-6664 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2016-6664 |
suse
|
high | CVE-2016-6664 severity important: SUSE including 176 source package names (4.0.0:libmysqlclient18-10.0.29-22.1, beta1:libmysqlclient18-10.0.29-22.1, …), 407 product×package rows across 62 product lines (Container caasp/v4/salt-master, Container caasp/v4/velum, … (62 product lines)): Fixed 313, Known Not Affected 94. | https://www.suse.com/security/cve/CVE-2016-6664/ |
ubuntu
|
medium | CVE-2016-6664 medium priority: Ubuntu including 4 source packages (mariadb-10.0, mysql-5.5, mysql-5.6, mysql-5.7), 21 status rows across 6 suites (precise, trusty, upstream, vivid, xenial, yakkety): DNE 11, released 8, not-affected 2. | https://ubuntu.com/security/CVE-2016-6664 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| oracle | mysql | >= 5.5.0, <= 5.5.51 | cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
| oracle | mysql | >= 5.6.0, <= 5.6.32 | cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
| oracle | mysql | >= 5.7.0, <= 5.7.14 | cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
| mariadb | mariadb | >= 5.5.0, < 5.5.54 | cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
| mariadb | mariadb | >= 10.0.0, < 10.0.29 | cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
| mariadb | mariadb | >= 10.1.0, < 10.1.21 | cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
| 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:*:*:*:*:*:*:*:* |