CVE-2016-6664

Summary

CVECVE-2016-6664
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-12-13 21:59:01 UTC
Updated2026-05-06 22:30:45 UTC
Descriptionmysqld_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.

Risk And Classification

Primary CVSS: v3.1 7 HIGH from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-59 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.9AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mariadb Mariadb All All All All
Application Oracle Mysql All All All All
Application Oracle Mysql All All All All
Application Oracle Mysql All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Oracle Critical Patch Update - October 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Vendor Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
MySQL / MariaDB / PerconaDB Root Privilege Escalation ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit af854a3a-2127-422b-91ae-364da2661108 legalhackers.com Exploit, Third Party Advisory
Oracle MySQL CVE-2016-6664 Local Security Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
MariaDB: Multiple vulnerabilities (GLSA 201702-18) — Gentoo Security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Percona responds to CVE-2016-6663 and CVE-2016-6664 - Percona Database Performance Blog af854a3a-2127-422b-91ae-364da2661108 www.percona.com Vendor Advisory
Full Disclosure: MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'root' Privilege Escalation af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Debian -- Security Information -- DSA-3770-1 mariadb-10.0 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500374 Alpine Linux Security Update for mariadb
  • 504132 Alpine Linux Security Update for mariadb
  • 710361 Gentoo Linux MariaDB Multiple Vulnerabilities (GLSA 201702-18)
  • 900121 CBL-Mariner Linux Security Update for mariadb 10.3.17
  • 903092 Common Base Linux Mariner (CBL-Mariner) Security Update for mariadb (2680)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report