CVEBrief

Home / Oracle / Mysql / CVE-2016-6662

CVE-2016-6662: is it exploited, and which versions of Oracle Mysql are affected and fixed?

CVE-2016-6662 is a vulnerability in Oracle Mysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: mysql from 5.5.0 through 5.5.52, mysql from 5.6.0 through 5.6.33, mysql from 5.7.0 through 5.7.15 and 27 more (NVD). Fixed in 5.5.51-38.1, 5.6.32-78.0, 5.7.14-7, 5.5.51 and 2 more (NVD). Severity: Critical (9.8, CVSS 3.0, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 06:38 UTC
Affected
mysql from 5.5.0 through 5.5.52, mysql from 5.6.0 through 5.6.33, mysql from 5.7.0 through 5.7.15 and 27 more
NVD
Fixed in
5.5.51-38.1, 5.6.32-78.0, 5.7.14-7, 5.5.51 and 2 more
NVD
Severity
Critical 9.8
CVSS 3.0 from NVD
Exploit odds (EPSS)
67.7% in 30 days
higher than 99% of CVEs; FIRST, December 2, 2026

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

From the CVE record by mitre, last updated August 6, 2024, 01:36 UTC.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
oraclemysqlfrom 5.5.0 through 5.5.52application
oraclemysqlfrom 5.6.0 through 5.6.33application
oraclemysqlfrom 5.7.0 through 5.7.15application
perconapercona serverfrom 5.5 before 5.5.51-38.1application
perconapercona serverfrom 5.6 before 5.6.32-78.0application
perconapercona serverfrom 5.7 before 5.7.14-7application
mariadbmariadbfrom 5.5.20 before 5.5.51application
mariadbmariadbfrom 10.0.0 before 10.0.27application
mariadbmariadbfrom 10.1.0 before 10.1.17application
debiandebian linux8.0operating system
redhatopenstack5.0application
redhatopenstack6.0application
redhatopenstack7.0application
redhatopenstack8application
redhatopenstack9application
redhatenterprise linux7.0operating system
redhatenterprise linux desktop6.0operating system
redhatenterprise linux desktop7.0operating system
redhatenterprise linux server6.0operating system
redhatenterprise linux server aus7.3operating system
redhatenterprise linux server aus7.4operating system
redhatenterprise linux server aus7.6operating system
redhatenterprise linux server eus7.3operating system
redhatenterprise linux server eus7.4operating system
redhatenterprise linux server eus7.5operating system

NVD analysis (status Modified), last modified June 17, 2026, 00:51 UTC.

How severe is CVE-2016-6662?

ScoreVersionVectorSource
Critical 9.8CVSS 3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 10.0CVSS 2.0AV:N/AC:L/Au:N/C:C/I:C/A:CNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2016-6662 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
67.7% probability of exploitation activity in the next 30 days, percentile 99.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 10, 2016
Published
September 20, 2016, 18:00 UTC
CVE record updated
August 6, 2024, 01:36 UTC by mitre
NVD
Modified, last modified June 17, 2026, 00:51 UTC
Last checked
CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Mysql?

Every CVE in Mysql

Questions about CVE-2016-6662

Is CVE-2016-6662 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 67.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Oracle Mysql are affected by CVE-2016-6662?

mysql from 5.5.0 through 5.5.52, mysql from 5.6.0 through 5.6.33, mysql from 5.7.0 through 5.7.15, percona server from 5.5 before 5.5.51-38.1, percona server from 5.6 before 5.6.32-78.0, percona server from 5.7 before 5.7.14-7 and 24 more, per the NVD. The tables above give every range the sources list.

Which version fixes CVE-2016-6662?

5.5.51-38.1, 5.6.32-78.0, 5.7.14-7, 5.5.51, 10.0.27 and 10.1.17, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2016-6662?

Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2016-6662?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.