Back
CVE-2016-6664
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,…
High7.0EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.0% · top 13% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Weakness
Affected products
n/a
- affected n/a
References (15)
- RHSA-2016:2749 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- 93612 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0574 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- GLSA-201702-18 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20161104 MySQL / MariaDB / PerconaDB - Root Privilege Escalation Exploit ( CVE-2016-6664 / CVE-2016-5617 ) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2016:2130 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html (opens in a new tab)x_refsource_MISCx_transferred
- 40679 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:0279 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-3770 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2017:2192 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .