VDB

CVE-2016-6664

CVE-2016-6664 PUBLISHED

Reported by mitre · Published December 13, 2016

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mariadbAlpine10.1.21-r0
mysqloracle5.7.14, 5.6.32, 5.5.51
mariadbmariadb10.1.21, 10.0.29, 5.5.54
mariadb-10.0Ubuntu:16.04:LTS10.0.29-0ubuntu0.16.04.1
xtradb_clusterpercona5.7.14-26.17, 5.6.32-25.17, 5.5.41-37.0
percona_serverpercona5.7.14-8, 5.6.32-78.1, 5.5.51-38.2
mysql-5.5Ubuntu:14.04:LTS5.5.52-0ubuntu0.14.04.1

Affected products

VendorProductVersions
n/an/an/a
alpinemariadb0
oraclemysql
n/an/a*

Timeline

  • Sep 12, 2016 PoC Published (2 in total, the first dated here)
  • Nov 3, 2016 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (6 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Aug 9, 2026 Distribution Patch (4 in total, the first dated here)
  • Oct 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-6664
vulnetix vdb fixes CVE-2016-6664

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-6664/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›