Skip to main content
Network Thinking Solutions Logo

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 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.

All CVEs
CVE-2016-6662Published 9/20/2016

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.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
9/20/2016
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
mysql
oracle
≥ 5.5.0, ≤ 5.5.52

Verify advisory

Source
mysql
oracle
≥ 5.6.0, ≤ 5.6.33

Verify advisory

Source
mysql
oracle
≥ 5.7.0, ≤ 5.7.15

Verify advisory

Source
percona server
percona
≥ 5.5, < 5.5.51-38.1

Verify advisory

Source
percona server
percona
≥ 5.6, < 5.6.32-78.0

Verify advisory

Source
percona server
percona
≥ 5.7, < 5.7.14-7

Verify advisory

Source
mariadb
mariadb
≥ 5.5.20, < 5.5.51

Verify advisory

Source
mariadb
mariadb
≥ 10.0.0, < 10.0.27

Verify advisory

Source
mariadb
mariadb
≥ 10.1.0, < 10.1.17

Verify advisory

Source
debian linux
debian
8.0

Verify advisory

Source
openstack
redhat
5.0

Verify advisory

Source
openstack
redhat
6.0

Verify advisory

Source
openstack
redhat
7.0

Verify advisory

Source
openstack
redhat
8

Verify advisory

Source
openstack
redhat
9

Verify advisory

Source
enterprise linux
redhat
7.0

Verify advisory

Source
enterprise linux desktop
redhat
6.0

Verify advisory

Source
enterprise linux desktop
redhat
7.0

Verify advisory

Source
enterprise linux server
redhat
6.0

Verify advisory

Source
enterprise linux server aus
redhat
7.3

Verify advisory

Source
enterprise linux server aus
redhat
7.4

Verify advisory

Source
enterprise linux server aus
redhat
7.6

Verify advisory

Source
enterprise linux server eus
redhat
7.3

Verify advisory

Source
enterprise linux server eus
redhat
7.4

Verify advisory

Source
enterprise linux server eus
redhat
7.5

Verify advisory

Source
enterprise linux server eus
redhat
7.6

Verify advisory

Source
enterprise linux server tus
redhat
7.3

Verify advisory

Source
enterprise linux server tus
redhat
7.6

Verify advisory

Source
enterprise linux workstation
redhat
6.0

Verify advisory

Source
enterprise linux workstation
redhat
7.0

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.