CVE-2016-6663: 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…
Noroxi assessment
Priority: Monitor (action score 29/100)
- Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.3% (FIRST EPSS); higher than 91.3% 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-10.0 (Debian:8) 10.0.28-0+deb8u1; mysql (Red Hat:enterprise_linux:6::client) 0:5.1.73-8.el6_8; mysql-bench (Red Hat:enterprise_linux:6::client) 0:5.1.73-8.el6_8.
Low priority for now. Upgrade to mariadb-10.0 (Debian:8) 10.0.28-0+deb8u1; mysql (Red Hat:enterprise_linux:6::client) 0:5.1.73-8.el6_8; mysql-bench (Red Hat:enterprise_linux:6::client) 0:5.1.73-8.el6_8 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
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 before 10.0.28, and 10.1.x before 10.1.18; 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 allows local users with certain permissions to gain privileges by leveraging use of my_copystat by REPAIR TABLE to repair a MyISAM table.
- Published
- Dec 13, 2016
- Updated
- Jun 16, 2026
- EPSS
- 4.3% · 91th percentile
- CWE
- CWE-362
Report tools
Action score
29
Low priority for now.
- CVSS
- 28 / 40 · 7.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.3%
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.
Is MySQL on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi 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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| oracle | mysql | cpe:2.3:a:oracle:mysql |
| percona | percona server | cpe:2.3:a:percona:percona_server |
| percona | xtradb cluster | cpe:2.3:a:percona:xtradb_cluster |
| mariadb | mariadb | cpe:2.3:a:mariadb:mariadb |
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
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 scanAffected 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.52 inclusive
- oracle mysql5.6.0 and later · up to 5.6.33 inclusive
- oracle mysql5.7.0 and later · up to 5.7.15 inclusive
- oracle mysql8.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:8 | mariadb-10.0 | before 10.0.28-0+deb8u1 | 10.0.28-0+deb8u1 |
| Red Hat:enterprise_linux:6::client | mysql | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-bench | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-debuginfo | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-devel | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-embedded | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-embedded-devel | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-libs | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-server | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:6::client | mysql-test | before 0:5.1.73-8.el6_8 | 0:5.1.73-8.el6_8 |
| Red Hat:enterprise_linux:7::client | mariadb | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-bench | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-debuginfo | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-devel | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-embedded | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-embedded-devel | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-libs | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-server | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:enterprise_linux:7::client | mariadb-test | before 1:5.5.52-1.el7 | 1:5.5.52-1.el7 |
| Red Hat:rhel_software_collections:2::el6 | mariadb55-mariadb | before 0:5.5.53-1.el6 | 0:5.5.53-1.el6 |
| Red Hat:rhel_software_collections:2::el6 | mariadb55-mariadb-bench | before 0:5.5.53-1.el6 | 0:5.5.53-1.el6 |
| Red Hat:rhel_software_collections:2::el6 | mariadb55-mariadb-debuginfo | before 0:5.5.53-1.el6 | 0:5.5.53-1.el6 |
| Red Hat:rhel_software_collections:2::el6 | mariadb55-mariadb-devel | before 0:5.5.53-1.el6 | 0:5.5.53-1.el6 |
| Red Hat:rhel_software_collections:2::el6 | mariadb55-mariadb-libs | before 0:5.5.53-1.el6 | 0:5.5.53-1.el6 |
+85
Same product
oracle: all recordsOther 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-8289Oct 25, 2016 · Unspecified vulnerability in Oracle MySQL 5.7.13 and earlier allows local users to affect integrity and availability via vectors related to…18Monitor
- ← 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
- Later →CVE-2016-6664Dec 13, 2016 · 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.29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:mariadb-10.0 | 10.0.28-0+deb8u1 · Debian:8 | Package registry (OSV) |
| red hat:mariadb55-mariadb | 0:5.5.53-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mariadb55-mariadb-bench | 0:5.5.53-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mariadb55-mariadb-debuginfo | 0:5.5.53-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mariadb55-mariadb-devel | 0:5.5.53-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mariadb55-mariadb-libs | 0:5.5.53-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql-bench | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql-debuginfo | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql-devel | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql-libs | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql-server | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:mysql55-mysql-test | 0:5.5.52-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| suse:mariadb | 10.0.28-20.16.2 · SUSE:Linux Enterprise Server for SAP Applications 12 | Package 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
- Proof-of-concept repository on GitHub ×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.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2016-11-01 |
| Proof-of-concept repository on GitHub | stars:5 | 2016-11-02 |
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.
- First PoC-43 d
- Published
- TodayNov 16, 2026+3624 d
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
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 · 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
Weakness class (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- rhn.redhat.com/errata/RHSA-2016-2131.html
- rhn.redhat.com/errata/RHSA-2016-2595.html
- rhn.redhat.com/errata/RHSA-2016-2749.html
- rhn.redhat.com/errata/RHSA-2016-2927.html
- rhn.redhat.com/errata/RHSA-2016-2928.html
- rhn.redhat.com/errata/RHSA-2017-0184.html
- seclists.org/fulldisclosure/2016/Nov/4
- www.openwall.com/lists/oss-security/2016/10/25/4
- www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- www.securityfocus.com/bid/92911
- www.securityfocus.com/bid/93614
- dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html
- dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html
- dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
- dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
- github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
- github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
- mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/
- mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.