CVE-2016-6662

9.8 CRITICAL
Published: September 20, 2016 Modified: May 06, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2058.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2059.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2060.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2061.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2062.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2077.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2130.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2131.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2595.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2928.html
Source: cve@mitre.org
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0184.html
Source: cve@mitre.org
Third Party Advisory
http://seclists.org/fulldisclosure/2016/Sep/23
Source: cve@mitre.org
Mailing List Third Party Advisory
http://www.debian.org/security/2016/dsa-3666
Source: cve@mitre.org
Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/12/3
Source: cve@mitre.org
Mailing List Third Party Advisory
http://www.securityfocus.com/bid/92912
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1036769
Source: cve@mitre.org
Third Party Advisory VDB Entry
https://jira.mariadb.org/browse/MDEV-10465
Source: cve@mitre.org
Issue Tracking Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/
Source: cve@mitre.org
Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/
Source: cve@mitre.org
Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/
Source: cve@mitre.org
Release Notes Vendor Advisory
https://security.gentoo.org/glsa/201701-01
Source: cve@mitre.org
Third Party Advisory
https://www.exploit-db.com/exploits/40360/
Source: cve@mitre.org
Exploit Third Party Advisory VDB Entry
http://rhn.redhat.com/errata/RHSA-2016-2058.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2059.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2060.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2061.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2062.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2077.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2130.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2131.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2595.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2928.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0184.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://seclists.org/fulldisclosure/2016/Sep/23
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.debian.org/security/2016/dsa-3666
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/12/3
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.securityfocus.com/bid/92912
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1036769
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://jira.mariadb.org/browse/MDEV-10465
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Vendor Advisory
https://security.gentoo.org/glsa/201701-01
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.exploit-db.com/exploits/40360/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

54 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
89.6%
100th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

debian mariadb percona oracle redhat