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.
Cite this page
CVE-2016-6664. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2016-6664
Use CWE-59, Oracle vendor hub and Mysql product page to widen CVE-2016-6664 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-21964, CVE-2025-50102 and CVE-2025-50101 for nearby disclosures in the same product family.