CVE-2016-0640

Source
https://cve.org/CVERecord?id=CVE-2016-0640
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-0640.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-0640
Downstream
Related
Published
2016-04-21T10:59:09.977Z
Modified
2026-05-30T08:51:32.700926Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
[none]
Details

Unspecified vulnerability in Oracle MySQL 5.5.47 and earlier, 5.6.28 and earlier, and 5.7.10 and earlier and MariaDB before 5.5.48, 10.0.x before 10.0.24, and 10.1.x before 10.1.12 allows local users to affect integrity and availability via vectors related to DML.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "8.0"
                }
            ],
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "source": "CPE_STRING"
        },
        {
            "extracted_events": [
                {
                    "last_affected": "2.1"
                },
                {
                    "last_affected": "3.1"
                }
            ],
            "cpes": [
                "cpe:2.3:a:ibm:powerkvm:2.1:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:powerkvm:3.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "ibm:powerkvm",
            "source": "CPE_STRING"
        },
        {
            "extracted_events": [
                {
                    "last_affected": "42.1"
                }
            ],
            "cpes": [
                "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "source": "CPE_STRING"
        },
        {
            "extracted_events": [
                {
                    "last_affected": "7"
                }
            ],
            "cpes": [
                "cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:linux",
            "source": "CPE_STRING"
        },
        {
            "extracted_events": [
                {
                    "last_affected": "6.0"
                },
                {
                    "last_affected": "7.0"
                }
            ],
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/mariadb/server

Affected ranges

Type
GIT
Repo
https://github.com/mariadb/server
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "5.5.20"
        },
        {
            "fixed": "5.5.48"
        },
        {
            "introduced": "10.0.0"
        },
        {
            "fixed": "10.0.24"
        },
        {
            "introduced": "10.1.0"
        },
        {
            "fixed": "10.1.12"
        }
    ],
    "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Affected versions

mariadb-10.*
mariadb-10.1.0
mariadb-10.1.10
mariadb-10.1.11
mariadb-10.1.2
mariadb-10.1.3
mariadb-10.1.4
mariadb-10.1.5
mariadb-10.1.6
mariadb-10.1.7
mariadb-10.1.8
mariadb-10.1.9

Database specific

vanir_signatures
[
    {
        "digest": {
            "line_hashes": [
                "274298000087880993560015421704917208476",
                "139145636241216056385508861118446489286",
                "338449612803683363914571601868732314234",
                "269103915272444797243883319290725278457"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-0640-6f7ab738",
        "signature_version": "v1",
        "target": {
            "file": "sql/sql_select.cc"
        },
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://github.com/mariadb/server/commit/b05158cc10a75196b5c0bf8dad9360608a2dd5b9"
    },
    {
        "digest": {
            "line_hashes": [
                "101618810264590050332860595868827487828",
                "151684181180313039129960101383182994884",
                "245723464035028011391222552709459444000",
                "200158032217569512795301531542981901708",
                "167412436514908738347579721415132230937",
                "114731481270423150548293400924664004313",
                "126927749514388854555249755074356036374",
                "299913887995491286320469046083681187389",
                "204058529217883360154382064572680149094",
                "292398400697841792237378782961741064660",
                "253405681862239406781542629497795693831",
                "20453322842544021734317470372247290844",
                "135469071627134196195743088104119986545",
                "125390321843579766155298245939321224306",
                "133784874913285018020895797509124548688",
                "316130965776004554812004803718833283219",
                "204795600828567315257287083588839829389"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-0640-9a3cb7b5",
        "signature_version": "v1",
        "target": {
            "file": "storage/innobase/srv/srv0srv.c"
        },
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://github.com/mariadb/server/commit/93a6142dd0c0c8b2e0683e4d57082582eac91fdb"
    },
    {
        "digest": {
            "function_hash": "148682213127556972962097231534381503457",
            "length": 645.0
        },
        "id": "CVE-2016-0640-c53e1a7c",
        "signature_version": "v1",
        "target": {
            "file": "storage/innobase/buf/buf0flu.c",
            "function": "buf_flush_stat_update"
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://github.com/mariadb/server/commit/93a6142dd0c0c8b2e0683e4d57082582eac91fdb"
    },
    {
        "digest": {
            "line_hashes": [
                "70944286196790103913235935046485175129",
                "70216736230457630044913030527495888989",
                "234715019206600995395395222423194408578",
                "232126951106032907535935331544487284708",
                "200232940830908561830841644863696919182"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-0640-f5653062",
        "signature_version": "v1",
        "target": {
            "file": "storage/innobase/buf/buf0flu.c"
        },
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://github.com/mariadb/server/commit/93a6142dd0c0c8b2e0683e4d57082582eac91fdb"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-0640.json"
vanir_signatures_modified
"2026-05-30T08:51:32Z"

Git / github.com/mysql/mysql-server

Affected ranges

Type
GIT
Repo
https://github.com/mysql/mysql-server
Events
Introduced
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "5.5.0"
        },
        {
            "last_affected": "5.5.47"
        },
        {
            "introduced": "5.6.0"
        },
        {
            "last_affected": "5.6.28"
        },
        {
            "introduced": "5.7.0"
        },
        {
            "last_affected": "5.7.10"
        }
    ],
    "cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Affected versions

mysql-3.*
mysql-3.23.22-beta
mysql-3.23.28-gamma
mysql-3.23.30-gamma
mysql-3.23.31
mysql-3.23.32
mysql-3.23.33
mysql-3.23.36
mysql-4.*
mysql-4.0.2
mysql-4.0.4
mysql-5.*
mysql-5.1.4
mysql-5.5.15
mysql-5.5.19
mysql-5.5.23
mysql-5.5.25
mysql-5.5.27
mysql-5.5.44
mysql-5.5.47
mysql-5.6.28
mysql-5.7.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-0640.json"