CWE
264
Advisory Published
Updated

CVE-2016-6662

First published: Tue Sep 20 2016(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MySQL>=5.5.0<=5.5.52
MySQL>=5.6.0<=5.6.33
MySQL>=5.7.0<=5.7.15
Percona Percona Server>=5.5<5.5.51-38.1
Percona Percona Server>=5.6<5.6.32-78.0
Percona Percona Server>=5.7<5.7.14-7
Ariadne CMS>=5.5.20<5.5.51
Ariadne CMS>=10.0.0<10.0.27
Ariadne CMS>=10.1.0<10.1.17
Debian=8.0
redhat openstack=5.0
redhat openstack=6.0
redhat openstack=7.0
redhat openstack=8
redhat openstack=9
Red Hat Enterprise Linux=7.0
redhat enterprise Linux desktop=6.0
redhat enterprise Linux desktop=7.0
redhat enterprise Linux server=6.0
redhat enterprise Linux server aus=7.3
redhat enterprise Linux server aus=7.4
redhat enterprise Linux server aus=7.6
redhat enterprise Linux server eus=7.3
redhat enterprise Linux server eus=7.4
redhat enterprise Linux server eus=7.5
redhat enterprise Linux server eus=7.6
redhat enterprise Linux server tus=7.3
redhat enterprise Linux server tus=7.6
redhat enterprise Linux workstation=6.0
redhat enterprise Linux workstation=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-6662?

    CVE-2016-6662 is classified as a medium severity vulnerability that could allow local users to create arbitrary configurations.

  • Which versions of MySQL are affected by CVE-2016-6662?

    CVE-2016-6662 affects Oracle MySQL versions 5.5.52 and earlier, 5.6.x versions prior to 5.6.33, and 5.7.x versions prior to 5.7.15.

  • How can I mitigate CVE-2016-6662?

    To mitigate CVE-2016-6662, upgrade to the latest version of MySQL or apply the relevant patches provided by Oracle.

  • Are MariaDB versions affected by CVE-2016-6662?

    Yes, CVE-2016-6662 impacts MariaDB versions before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17.

  • What impact does CVE-2016-6662 have on Percona Server?

    CVE-2016-6662 affects Percona Server versions before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203