CVE-2016-6662: 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 bef
74
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEUPGRADEUPGRADE
CVE-2016-6662 is a critical-severity flaw (CVSS 9.8) affecting mysql, percona server, mariadb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 r
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-6662?
mysql: upgrade to newer than 5.7.15; percona server: upgrade to 5.5.51-38.1, 5.6.32-78.0, 5.7.14-7; mariadb: upgrade to 5.5.51, 10.0.27, 10.1.17. Exact commands for each OS are on this page.
Is CVE-2016-6662 being exploited?
CVE-2016-6662 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-6662 affect?
CVE-2016-6662 affects mysql, percona server, mariadb. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2016-6662?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
CVE-2026-34318MEDIUM 5.8UPGRADE Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell: Core Client)
CVE-2026-34317MEDIUM 5.0UPGRADE Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell: Core Client)
CVE-2026-34319MEDIUM 5.0UPGRADE Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell: Core Client)
CVE-2020-11656CRITICAL 9.8UPGRADEMITIGATE In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY
CVE-2025-50104LOW 2.7UPGRADE Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)