Vulnerabilities

Vulnerability · 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…

Published Dec 13, 2016 · catalog updated Jun 17, 2026 · the affected product

Last checked Nov 9, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2016-6664. EPSS is 2.97%. Act only if a listed version of the affected product is installed.

Gaps on this record

  • No plain product name is stored. The page cannot tell you which product to check.
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
High7.0
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
2.97%
Remediation
Version ranges on file
Affected products
cpe mariadb/mariadb · cpe oracle/mysql

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe mariadb/mariadb< 10.0.29
  • cpe mariadb/mariadb< 10.1.21
  • cpe mariadb/mariadb< 5.5.54
  • cpe oracle/mysql>= 5.5.0, <= 5.5.51
  • cpe oracle/mysql>= 5.6.0, <= 5.6.32
  • cpe oracle/mysql>= 5.7.0, <= 5.7.14

How to fix CVE-2016-6664

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2016-6664. EPSS is 2.97%. Act only if a listed version of the affected product is installed.

Which versions are affected?

Compare what you have installed with < 10.0.29, < 10.1.21, < 5.5.54, >= 5.5.0, <= 5.5.51, >= 5.6.0, <= 5.6.32, >= 5.7.0, <= 5.7.14. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-59: Link Following. EPSS 2.97%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 13, 2016 · Monitored products — high

    Detected

    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

  2. Jun 17, 2026 · Monitored products — high

    Updated

    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

Sources

  • CVE.orgVulnerability recordCVE-2016-6664

    Official CVE identifier

    cve.org
  • Monitored products — highVendor advisoryCVE-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 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

    nvd.nist.gov
  • Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html

    Packet Storm link already published on the finding.

    packetstormsecurity.com
  • Shodan InternetDBThreat intelligenceCVE-2016-6664
    internetdb.shodan.io
  • urlscan.ioThreat intelligenceCVE-2016-6664
    urlscan.io

References

Freshness

Last verified in this catalog Nov 7, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • Packet Storm SecurityNov 9, 2026
  • urlscan.ioNov 4, 2026
  • Shodan InternetDBNov 3, 2026
  • CVE.orgNov 2, 2026
  • Monitored products — highNov 1, 2026