CVE-2016-6662
HIGH 10.0EPSS 67.7%
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.
- CVSS v3.0
- 9.8 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0
- 10.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C - EPSS
- 67.73% chance of exploitation in the next 30 days, 99th percentile
- Published
- 2016-09-20
- Updated
- 2024-08-06
Proof-of-concept exploits (5)
- http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2…
- Ashrafdev/MySQL-Remote-Root-Code-Execution9★ · 2026-08-12
- KosukeShimofuji/CVE-2016-66620★ · 2016-09-16
- MAYASEVEN/CVE-2016-666229★ · 2017-07-22
- boompig/cve-2016-66621★ · 2017-03-20