CVE-2016-6662Oracle Mysql
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Oracle · Oracle Mysql We alert you by email or Slack (account required).
- Priority
- 81
- CVSS 3.0
- 9.8
- EPSS
- 67.7% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Sep 20, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mysql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oracle | mysql | ≥ 5.5.0 ≤ 5.5.52 |
| oracle | mysql | ≥ 5.6.0 ≤ 5.6.33 |
| oracle | 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 |
| mariadb | mariadb | ≥ 5.5.20 < 5.5.51 |
| mariadb | mariadb | ≥ 10.0.0 < 10.0.27 |
| mariadb | mariadb | ≥ 10.1.0 < 10.1.17 |
| debian | debian_linux | 8.0 |
| redhat | openstack | 5.0 |
| redhat | openstack | 6.0 |
| redhat | openstack | 7.0 |
| redhat | openstack | 8 |
| redhat | openstack | 9 |
| redhat | 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 |
Official sources
References
Links published by the sources. Open them with care.
- legalhackers.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.oracle.com Patch Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- jira.mariadb.org Issue Tracking Vendor Advisory
- mariadb.com Release Notes Vendor Advisory
- mariadb.com Release Notes Vendor Advisory
- mariadb.com Release Notes Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.percona.com Third Party Advisory