GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2016-6663
Vulnerability from osv_ubuntu
Published
2016-12-13 21:59
Modified
2026-04-22 07:38
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libmariadbclient18",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-client",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-client-5.5",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-client-core-5.5",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-common",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-server",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-server-5.5",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-server-core-5.5",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-test",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          },
          {
            "binary_name": "mariadb-test-5.5",
            "binary_version": "5.5.52-1ubuntu0.14.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "mariadb-5.5",
        "purl": "pkg:deb/ubuntu/mariadb-5.5@5.5.52-1ubuntu0.14.04.1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.5.52-1ubuntu0.14.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.5.32-1ubuntu1",
        "5.5.35-1ubuntu1",
        "5.5.36-1",
        "5.5.37-0ubuntu0.14.04.1",
        "5.5.39-0ubuntu0.14.04.1",
        "5.5.40-0ubuntu0.14.04.1",
        "5.5.41-0ubuntu0.14.04.2",
        "5.5.41-1ubuntu0.14.04.1",
        "5.5.43-1ubuntu0.14.04.2",
        "5.5.44-1ubuntu0.14.04.1",
        "5.5.46-1ubuntu0.14.04.2",
        "5.5.47-1ubuntu0.14.04.1",
        "5.5.49-1ubuntu0.14.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libmysqlclient18",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "libmysqld-pic",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-client",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-client-5.5",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-client-core-5.5",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-common",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-server",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-server-5.5",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-server-core-5.5",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-source-5.5",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-testsuite",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          },
          {
            "binary_name": "mysql-testsuite-5.5",
            "binary_version": "5.5.52-0ubuntu0.14.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "mysql-5.5",
        "purl": "pkg:deb/ubuntu/mysql-5.5@5.5.52-0ubuntu0.14.04.1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.5.52-0ubuntu0.14.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.5.32-0ubuntu7",
        "5.5.34-0ubuntu1",
        "5.5.34-0ubuntu2",
        "5.5.35-0ubuntu1",
        "5.5.35+dfsg-1ubuntu1",
        "5.5.37-0ubuntu0.14.04.1",
        "5.5.38-0ubuntu0.14.04.1",
        "5.5.40-0ubuntu0.14.04.1",
        "5.5.41-0ubuntu0.14.04.1",
        "5.5.43-0ubuntu0.14.04.1",
        "5.5.44-0ubuntu0.14.04.1",
        "5.5.46-0ubuntu0.14.04.2",
        "5.5.47-0ubuntu0.14.04.1",
        "5.5.49-0ubuntu0.14.04.1",
        "5.5.50-0ubuntu0.14.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libmariadbd18",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-client",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-client-10.0",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-client-core-10.0",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-common",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-plugin-connect",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-plugin-mroonga",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-plugin-oqgraph",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-plugin-spider",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-plugin-tokudb",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-server",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-server-10.0",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-server-core-10.0",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-test",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "mariadb-test-data",
            "binary_version": "10.0.28-0ubuntu0.16.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "mariadb-10.0",
        "purl": "pkg:deb/ubuntu/mariadb-10.0@10.0.28-0ubuntu0.16.04.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.0.28-0ubuntu0.16.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "10.0.20-0ubuntu0.15.04.1",
        "10.0.22-0ubuntu1",
        "10.0.23-1",
        "10.0.23-2",
        "10.0.24-7",
        "10.0.25-0ubuntu0.16.04.1",
        "10.0.27-0ubuntu0.16.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "percona-xtradb-cluster-server",
            "binary_version": "5.6.34-26.19-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "percona-xtradb-cluster-server-5.6",
            "binary_version": "5.6.34-26.19-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "percona-xtradb-cluster-source-5.6",
            "binary_version": "5.6.34-26.19-0ubuntu0.16.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "percona-xtradb-cluster-5.6",
        "purl": "pkg:deb/ubuntu/percona-xtradb-cluster-5.6@5.6.34-26.19-0ubuntu0.16.04.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.6.34-26.19-0ubuntu0.16.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.6.21-25.8-0ubuntu2",
        "5.6.21-25.8-0ubuntu3",
        "5.6.21-25.8-0ubuntu3.1",
        "5.6.21-25.8-0ubuntu3.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "percona-server-server",
            "binary_version": "5.6.22-rel71.0-0ubuntu4.1"
          },
          {
            "binary_name": "percona-server-server-5.6",
            "binary_version": "5.6.22-rel71.0-0ubuntu4.1"
          },
          {
            "binary_name": "percona-server-source-5.6",
            "binary_version": "5.6.22-rel71.0-0ubuntu4.1"
          },
          {
            "binary_name": "percona-server-test",
            "binary_version": "5.6.22-rel71.0-0ubuntu4.1"
          },
          {
            "binary_name": "percona-server-test-5.6",
            "binary_version": "5.6.22-rel71.0-0ubuntu4.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "percona-server-5.6",
        "purl": "pkg:deb/ubuntu/percona-server-5.6@5.6.22-rel71.0-0ubuntu4.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.6.22-rel71.0-0ubuntu2",
        "5.6.22-rel71.0-0ubuntu4",
        "5.6.22-rel71.0-0ubuntu4.1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2016-6663",
  "modified": "2026-04-22T07:38:01Z",
  "published": "2016-12-13T21:59:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2016-6663"
    },
    {
      "type": "REPORT",
      "url": "https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.txt"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2016-6663"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2016-6663"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…