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, 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…
Does this matter?
A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 3.0%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
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 3.1
- 7.0 HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.97% probability · 87th percentile
- Public exploits
- 1 in Exploit-DB · first 1 November 2016
- CISA KEV
- Not listed
- Weakness
- CWE-59
- Affected
- oracle/mysql · mariadb/mariadb · percona/percona server · percona/xtradb cluster
- Source
- cve@mitre.org
EPSS 3.0% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.htmlExploit, Third Party Advisory
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://rhn.redhat.com/errata/RHSA-2016-2130.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2749.htmlThird Party Advisory
- http://seclists.org/fulldisclosure/2016/Nov/4Mailing List, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3770Third Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/archive/1/539695/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/93612Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2192Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0279Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0574Third Party Advisory
- https://security.gentoo.org/glsa/201702-18Third Party Advisory
- https://www.exploit-db.com/exploits/40679/Exploit, Third Party Advisory, VDB Entry
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/Vendor Advisory
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.htmlExploit, Third Party Advisory
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://rhn.redhat.com/errata/RHSA-2016-2130.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2749.htmlThird Party Advisory
- http://seclists.org/fulldisclosure/2016/Nov/4Mailing List, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3770Third Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/archive/1/539695/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/93612Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2192Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0279Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0574Third Party Advisory
- https://security.gentoo.org/glsa/201702-18Third Party Advisory
- https://www.exploit-db.com/exploits/40679/Exploit, Third Party Advisory, VDB Entry
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.