CVE-2016-6662: debian debian_linux
Vulnerability summary
CVE-2016-6662 is a high (CVSS 10.0) vulnerability in debian debian_linux. EPSS estimates a 67.73% chance of exploitation in the next 30 days, higher than 99.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 11 · Related 4Timeline
- 20-09-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
67.73%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 67.73% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundMySQL / MariaDB / PerconaDB 5.5.51/5.6.32/5.7.14 - Code Execution / Privilege Escalation
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Redhat12 products
- enterprise_linuxEOL7.0
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0
- enterprise_linux_server_aus7.3 | 7.4 | 7.6
- enterprise_linux_server_eus7.3 | 7.4 | 7.5 | 7.6
Suse7 products
- mariadb&distro=SUSE Linux Enterprise Desktop 12 SP1< 10.0.27-12.1
- mariadb&distro=SUSE Linux Enterprise Server 12 SP1< 10.0.27-12.1
- mariadb&distro=SUSE Linux Enterprise Server 12-LTSS< 10.0.27-20.13.1
- mariadb&distro=SUSE Linux Enterprise Server for SAP Applications 12< 10.0.27-20.13.1
- mariadb&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1< 10.0.27-12.1
Ubuntu7 products
- mariadb-10.0< 10.0.27-0ubuntu0.16.04.1
- mariadb-5.5< 5.5.52-1ubuntu0.14.04.1
- mysql-5.5< 5.5.52-0ubuntu0.14.04.1
- mysql-5.6< 5.6.33-0ubuntu0.14.04.1
- mysql-5.7< 5.7.15-0ubuntu0.16.04.1
Debian2 products
- mysql-5.5< 5.5.52-0+deb8u1 | < 5.5.52-0+deb7u1
- debian_linuxEOL8.0
Alpine1 product
- mariadb≥ 5.5.20, < 5.5.51-r0 | ≥ 5.5.20, < 10.1.17-r0
Mariadb1 product
- mariadb≥ 5.5.20, < 5.5.51 | ≥ 10.0.0, < 10.0.27 | ≥ 10.1.0, < 10.1.17
Oracle1 product
- mysql≥ 5.5.0, ≤ 5.5.52 | ≥ 5.6.0, ≤ 5.6.33 | ≥ 5.7.0, ≤ 5.7.15
Percona1 product
- percona_server≥ 5.5, < 5.5.51-38.1 | ≥ 5.6, < 5.6.32-78.0 | ≥ 5.7, < 5.7.14-7
8 vendors · 32 products
References
61 links- mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/X Refsource CONFIRMRelease NotesVendor AdvisoryREPORT
- mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/X Refsource CONFIRMRelease NotesVendor Advisory
- mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/X Refsource CONFIRMRelease NotesVendor Advisory
Show all 61 references
- www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlX Refsource CONFIRMPatchVendor Advisory
- legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.htmlX Refsource MISCThird Party AdvisoryREPORT
- www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/X Refsource CONFIRMThird Party Advisory
- bugzilla.suse.com/949520REPORT
- bugzilla.suse.com/998309REPORT