Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2016-6664: mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2…

HighCVSS 7.0 · v3.1—Proof of concept Fix available

Noroxi assessment

Priority: Monitor (action score 29/100)

  • Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 2.9% (FIRST EPSS); higher than 87.4% of all records.
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: mariadb (Alpine:v3.10) 10.1.21-r0; mariadb-10.0 (Debian:8) 10.0.29-0+deb8u1; mariadb (openSUSE:Tumbleweed) 10.6.4-2.1.

Low priority for now. Upgrade to mariadb (Alpine:v3.10) 10.1.21-r0; mariadb-10.0 (Debian:8) 10.0.29-0+deb8u1; mariadb (openSUSE:Tumbleweed) 10.6.4-2.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files.

Published
Dec 13, 2016
Updated
Jun 16, 2026
EPSS
2.9% · 87th percentile

Report tools

JSON

Action score

29

Monitor

Low priority for now.

CVSS
28 / 40 · 7.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.9%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2016-6664

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is MySQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Is MySQL on your server exposed to the internet?Run a port scan

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
oraclemysql
mariadbmariadb
perconapercona server
perconaxtradb cluster

Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)

Watch new CVEs for mysql

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is MySQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is MySQL on your server exposed to the internet?

The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.

Run a port scan

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • oracle mysql5.5.0 and later · up to 5.5.51 inclusive
  • oracle mysql5.6.0 and later · up to 5.6.32 inclusive
  • oracle mysql5.7.0 and later · up to 5.7.14 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10mariadbfrom 5.5.0 · before 10.1.21-r010.1.21-r0
Debian:8mariadb-10.0before 10.0.29-0+deb8u110.0.29-0+deb8u1
openSUSE:Tumbleweedmariadbbefore 10.6.4-2.110.6.4-2.1
Red Hat:enterprise_linux:7::clientmariadbbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-benchbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-debuginfobefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-develbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-embeddedbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-embedded-develbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-libsbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-serverbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:enterprise_linux:7::clientmariadb-testbefore 1:5.5.56-2.el71:5.5.56-2.el7
Red Hat:rhel_software_collections:2::el6mysql55-mysqlbefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6mysql55-mysql-benchbefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6mysql55-mysql-debuginfobefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6mysql55-mysql-develbefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6mysql55-mysql-libsbefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6mysql55-mysql-serverbefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6mysql55-mysql-testbefore 0:5.5.52-1.el60:5.5.52-1.el6
Red Hat:rhel_software_collections:2::el6rh-mysql56-mysqlbefore 0:5.6.34-2.el60:5.6.34-2.el6
Red Hat:rhel_software_collections:2::el6rh-mysql56-mysql-benchbefore 0:5.6.34-2.el60:5.6.34-2.el6
Red Hat:rhel_software_collections:2::el6rh-mysql56-mysql-commonbefore 0:5.6.34-2.el60:5.6.34-2.el6
Red Hat:rhel_software_collections:2::el6rh-mysql56-mysql-configbefore 0:5.6.34-2.el60:5.6.34-2.el6
Red Hat:rhel_software_collections:2::el6rh-mysql56-mysql-debuginfobefore 0:5.6.34-2.el60:5.6.34-2.el6

+68

Other highest-scoring records for the same primary product.

  • CVE-2016-6662Oracle 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…
    59Plan
  • CVE-2017-3599Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Pluggable Auth).
    57Plan
  • CVE-2009-4484Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in…
    51Plan

Published before and after this one in the same product

  • ← EarlierCVE-2016-8290Oct 25, 2016 · Unspecified vulnerability in Oracle MySQL 5.7.13 and earlier allows remote administrators to affect availability via vectors related to…
    18Monitor
  • ← EarlierCVE-2016-6663Dec 13, 2016 · Race condition in Oracle MySQL before 5.5.52, 5.6.x before 5.6.33, 5.7.x before 5.7.15, and 8.x before 8.0.1; MariaDB before 5.5.52, 10.0.x…
    29Monitor
  • Later →CVE-2016-8318Jan 27, 2017 · Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Security: Encryption).
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:mariadb10.1.21-r0 · Alpine:v3.10Package registry (OSV)
debian:mariadb-10.010.0.29-0+deb8u1 · Debian:8Package registry (OSV)
opensuse:mariadb10.6.4-2.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:mysql55-mysql0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:mysql55-mysql-bench0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:mysql55-mysql-debuginfo0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:mysql55-mysql-devel0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:mysql55-mysql-libs0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:mysql55-mysql-server0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:mysql55-mysql-test0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-mysql56-mysql0:5.6.34-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-mysql56-mysql-bench0:5.6.34-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-mysql56-mysql-common0:5.6.34-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-mysql56-mysql-config0:5.6.34-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-mysql56-mysql-debuginfo0:5.6.34-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
suse:mariadb10.0.29-20.23.1 · SUSE:Linux Enterprise Server for SAP Applications 12Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2016-11-01

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-43 d
  2. Published
  3. TodayNov 16, 2026+3624 d

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

References

All records