--- title: "CVE-2016-6662: Oracle MySQL through 5.5.52, 5.6.x… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2016-6662 --- # CVE-2016-6662: Oracle MySQL through 5.5.52, 5.6.x… | CubePath ## 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2016-6662) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.67730 (67.7% probability) Percentile 99.3% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [mariadb.com/kb/en/mariadb/mariadb-10027-release-notes](https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/) - [RHSA-2016:2749](http://rhn.redhat.com/errata/RHSA-2016-2749.html) (rhn.redhat.com) vendor-advisory - [RHSA-2017:0184](http://rhn.redhat.com/errata/RHSA-2017-0184.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2131](http://rhn.redhat.com/errata/RHSA-2016-2131.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2060](http://rhn.redhat.com/errata/RHSA-2016-2060.html) (rhn.redhat.com) vendor-advisory - [mariadb.com/kb/en/mariadb/mariadb-10117-release-notes](https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/) - [mariadb.com/kb/en/mariadb/mariadb-5551-release-notes](https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/) - [jira.mariadb.org/browse/MDEV-10465](https://jira.mariadb.org/browse/MDEV-10465) - [92912](http://www.securityfocus.com/bid/92912) (securityfocus.com) vdb-entry - [20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )](http://seclists.org/fulldisclosure/2016/Sep/23) (seclists.org) mailing-list - [GLSA-201701-01](https://security.gentoo.org/glsa/201701-01) (security.gentoo.org) vendor-advisory - [DSA-3666](http://www.debian.org/security/2016/dsa-3666) (debian.org) vendor-advisory - [oracle.com/technetwork/security-advisory/cpuoct2016-2881722…](http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html) - [RHSA-2016:2130](http://rhn.redhat.com/errata/RHSA-2016-2130.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2077](http://rhn.redhat.com/errata/RHSA-2016-2077.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2927](http://rhn.redhat.com/errata/RHSA-2016-2927.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2059](http://rhn.redhat.com/errata/RHSA-2016-2059.html) (rhn.redhat.com) vendor-advisory - [legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-…](http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html) - [percona.com/blog/2016/09/12/percona-server-critical-update-…](https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/) - [RHSA-2016:2062](http://rhn.redhat.com/errata/RHSA-2016-2062.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2595](http://rhn.redhat.com/errata/RHSA-2016-2595.html) (rhn.redhat.com) vendor-advisory - [1036769](http://www.securitytracker.com/id/1036769) (securitytracker.com) vdb-entry - [RHSA-2016:2061](http://rhn.redhat.com/errata/RHSA-2016-2061.html) (rhn.redhat.com) vendor-advisory - [\[oss-security\] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )](http://www.openwall.com/lists/oss-security/2016/09/12/3) (openwall.com) mailing-list - [40360](https://www.exploit-db.com/exploits/40360/) (exploit-db.com) exploit - [RHSA-2016:2928](http://rhn.redhat.com/errata/RHSA-2016-2928.html) (rhn.redhat.com) vendor-advisory - [RHSA-2016:2058](http://rhn.redhat.com/errata/RHSA-2016-2058.html) (rhn.redhat.com) vendor-advisory ## Timeline 1. ID reserved Aug 10, 2016 2. Record published Sep 20, 2016 3. Record last updated Aug 6, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:58 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)