CVE-2016-6662
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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 67.7% · top 0.7% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
References (27)
- https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2749 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:0184 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2131 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2060 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://jira.mariadb.org/browse/MDEV-10465 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 92912 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- GLSA-201701-01 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- DSA-3666 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2130 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2077 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2927 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2059 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2062 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2595 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1036769 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2016:2061 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day ) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 40360 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- RHSA-2016:2928 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2058 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .