CVE-2016-6662
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 for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.67730 (67.7% probability)
- Percentile
- 99.3%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
References
- mariadb.com/kb/en/mariadb/mariadb-10027-release-notes
- RHSA-2016:2749 (rhn.redhat.com)vendor-advisory
- RHSA-2017:0184 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2131 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2060 (rhn.redhat.com)vendor-advisory
- mariadb.com/kb/en/mariadb/mariadb-10117-release-notes
- mariadb.com/kb/en/mariadb/mariadb-5551-release-notes
- jira.mariadb.org/browse/MDEV-10465
- 92912 (securityfocus.com)vdb-entry
- 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) (seclists.org)mailing-list
- GLSA-201701-01 (security.gentoo.org)vendor-advisory
- DSA-3666 (debian.org)vendor-advisory
- oracle.com/technetwork/security-advisory/cpuoct2016-2881722…
- RHSA-2016:2130 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2077 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2927 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2059 (rhn.redhat.com)vendor-advisory
- legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-…
- percona.com/blog/2016/09/12/percona-server-critical-update-…
- RHSA-2016:2062 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2595 (rhn.redhat.com)vendor-advisory
- 1036769 (securitytracker.com)vdb-entry
- RHSA-2016:2061 (rhn.redhat.com)vendor-advisory
- [oss-security] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) (openwall.com)mailing-list
- 40360 (exploit-db.com)exploit
- RHSA-2016:2928 (rhn.redhat.com)vendor-advisory
- RHSA-2016:2058 (rhn.redhat.com)vendor-advisory
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
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:46 UTC. Sources and licenses