CVE-2016-6664

HIGH
7
CVSS Score
Published: December 13, 2016 at 09:00 PM UTC
Updated: June 17, 2026 at 12:51 AM UTC
4 products affected across 3 vendorsMySQL ServerMariaDBPercona Server

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

10.0.0 ≤ v < 10.0.2910.1.0 ≤ v < 10.1.215.5.0 ≤ v < 5.5.54
Affected range stops below 10.0.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 10.1.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.5.54, so it looks safe — our inference, not a vendor statement
5.5.0 ≤ v ≤ 5.5.515.6.0 ≤ v ≤ 5.6.325.7.0 ≤ v ≤ 5.7.14
5.5 ≤ v < 5.5.51-38.25.6 ≤ v < 5.6.32-78.15.7 ≤ v < 5.7.14-8
Affected range stops below 5.5.51-38.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.6.32-78.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.7.14-8, so it looks safe — our inference, not a vendor statement
5.5 ≤ v < 5.5.41-37.05.6 ≤ v < 5.6.32-25.175.7 ≤ v < 5.7.14-26.17
Affected range stops below 5.5.41-37.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.6.32-25.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.7.14-26.17, so it looks safe — our inference, not a vendor statement

References (15)

Vendor Advisoryx_refsource_REDHATThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2130.html
Vendor Advisoryx_refsource_REDHATThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html
Mailing Listx_refsource_FULLDISCThird Party Advisory
http://seclists.org/fulldisclosure/2016/Nov/4
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
http://www.debian.org/security/2017/dsa-3770
Mailing Listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/539695/100/0/threaded

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card