CVE-2016-6662 in Debian Linux and 11 more products
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 prot...
Affects 12 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 8.0 |
| Mariadb | Mariadb | ≥ 5.5.20, < 5.5.51 ≥ 10.0.0, < 10.0.27 ≥ 10.1.0, < 10.1.17 |
| Oracle | Mysql | ≥ 5.5.0, ≤ 5.5.52 ≥ 5.6.0, ≤ 5.6.33 ≥ 5.7.0, ≤ 5.7.15 |
| Percona | Percona Server | ≥ 5.5, < 5.5.51-38.1 ≥ 5.6, < 5.6.32-78.0 ≥ 5.7, < 5.7.14-7 |
| Redhat | Enterprise Linux Workstation | 6.0 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.3 7.4 7.6 |
| Redhat | Enterprise Linux Server Eus | 7.3 7.4 7.5 7.6 |
| Redhat | Openstack | 5.0 6.0 7.0 8 9 |
| Redhat | Enterprise Linux Server Tus | 7.3 7.6 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Desktop | 6.0 7.0 |
| Redhat | Enterprise Linux | 7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-6662 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-190841-C |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-09-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A vulnerability in Oracle MySQL, MariaDB, and Percona Server allows local users to create arbitrary configurations and bypass certain protection mechanisms by setting the general_log_file to a my.cnf configuration file.", "attack_vector_detail": "The attack vector involves a local user with sufficient privileges modifying the general_log_file parameter to point to a malicious my.cnf configuration file. This can lead to unauthorized changes in the database server's configuration, potentially compromising security.", "affected_components": [ "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", "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" ],
Questions
What is CVE-2016-6662?
{ "executive_summary": "A vulnerability in Oracle MySQL, MariaDB, and Percona Server allows local users to create arbitrary configurations and bypass certain protection mechanisms by setting the general_log_file to a my.cnf configuration file.", "attack_vector_detail": "The attack vector involves a local user with sufficient privileges modifying the general_log_file parameter to point to a malicious my.cnf configuration file. This can lead to unauthorized changes in the database server's con
What is the CVSS score for CVE-2016-6662?
CVE-2016-6662 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 67.7%.
Is CVE-2016-6662 actively exploited?
Public exploit available for CVE-2016-6662. Exploitation risk elevated.
How do I remediate CVE-2016-6662?
Advisory: https://jira.mariadb.org/browse/MDEV-10465 PSIRT: [email protected]
What systems are affected by CVE-2016-6662?
CVE-2016-6662 affects Debian Debian Linux; Mariadb Mariadb; Oracle Mysql; Percona Percona Server; Redhat Enterprise Linux Workstation, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Openstack, Enterprise Linux Server Tus, Enterprise Linux Server (plus 2 more products).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.