CVE-2016-6662: Debian Linux

Critical severity, CVSS 9.8. EPSS: 68% probability of exploitation activity in the next 30 days.

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • MariaDB, from 5.5.20, before 5.5.51: fixed in 5.5.51
  • MariaDB, from 10.0.0, before 10.0.27: fixed in 10.0.27
  • MariaDB, from 10.1.0, before 10.1.17: fixed in 10.1.17
  • Percona Server, from 5.5, before 5.5.51-38.1: fixed in 5.5.51-38.1
  • Percona Server, from 5.6, before 5.6.32-78.0: fixed in 5.6.32-78.0
  • Percona Server, from 5.7, before 5.7.14-7: fixed in 5.7.14-7

Affected products

Published 2016-09-20. Last modified 2026-06-17.