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.
Conclusion & alert: CVE-2016-6662 is rated High Exploit Risk (89.7/100): CVSS Critical severity, with high exploitation likelihood (EPSS 89.58%, 100th percentile). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 40360 | exploit_db | edb | 2016-09-12 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-04 | 88.94% | 89.58% | +0.63% |
| 2 | 2026-03-02 | 89.80% | 88.94% | -0.86% |
| 3 | 2026-03-01 | — | 89.80% | — |
Full EPSS history (43 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 10.0 | 2.0 | HIGH |
|
10.0 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
gentoo
|
normal | CVE-2016-6662: 1 GLSA(s) (201701-01), 2 atom(s) (dev-db/mariadb, dev-db/mysql); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-6662 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2016-6662 |
suse
|
high | CVE-2016-6662 severity important: SUSE including 182 source package names (4.0.0:libmysqlclient18-10.0.27-12.1, beta1:libmysqlclient18-10.0.27-12.1, …), 509 product×package rows across 83 product lines (Container caasp/v4/salt-master, Container caasp/v4/velum, … (83 product lines)): Fixed 362, Known Not Affected 147. | https://www.suse.com/security/cve/CVE-2016-6662/ |
ubuntu
|
medium | CVE-2016-6662 medium priority: Ubuntu including 9 source packages (mariadb-10.0, mariadb-5.5, …), 203 status rows across 24 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, precise, questing, trusty, upstream, vivid, xenial, yakkety, zesty): DNE 162, released 19, not-affected 13, needs-triage 5, ignored 3, needed 1. | https://ubuntu.com/security/CVE-2016-6662 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| oracle | mysql | >= 5.5.0, <= 5.5.52 | cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
| oracle | mysql | >= 5.6.0, <= 5.6.33 | cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
| oracle | mysql | >= 5.7.0, <= 5.7.15 | cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
| percona | percona_server | >= 5.5, < 5.5.51-38.1 | cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* |
| percona | percona_server | >= 5.6, < 5.6.32-78.0 | cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* |
| percona | percona_server | >= 5.7, < 5.7.14-7 | cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* |
| mariadb | mariadb | >= 5.5.20, < 5.5.51 | cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
| mariadb | mariadb | >= 10.0.0, < 10.0.27 | cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
| mariadb | mariadb | >= 10.1.0, < 10.1.17 | cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
| debian | debian_linux | 8.0 | cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
| redhat | openstack | 5.0 | cpe:2.3:a:redhat:openstack:5.0:*:*:*:*:*:*:* |
| redhat | openstack | 6.0 | cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:* |
| redhat | openstack | 7.0 | cpe:2.3:a:redhat:openstack:7.0:*:*:*:*:*:*:* |
| redhat | openstack | 8 | cpe:2.3:a:redhat:openstack:8:*:*:*:*:*:*:* |
| redhat | openstack | 9 | cpe:2.3:a:redhat:openstack:9:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 7.0 | cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_desktop | 6.0 | cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_desktop | 7.0 | cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server | 6.0 | cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_aus | 7.3 | cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_aus | 7.4 | cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_aus | 7.6 | cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_eus | 7.3 | cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_eus | 7.4 | cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_eus | 7.5 | cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_eus | 7.6 | cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_tus | 7.3 | cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_tus | 7.6 | cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_workstation | 6.0 | cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_workstation | 7.0 | cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |