{
    "id": "CVE-2012-5611",
    "published": "2012-12-03 12:49:43",
    "last_modified": "2026-06-16 23:47:05",
    "cvss_score": "6.5",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
    "cwe": "CWE-119",
    "description": "Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53 and other versions through 5.1.66, and MariaDB 5.5.2.x before 5.5.28a, 5.3.x before 5.3.11, 5.2.x before 5.2.13 and 5.1.x before 5.1.66, allows remote authenticated users to execute arbitrary code via a long argument to the GRANT FILE command.",
    "epss_score": "0.23956",
    "epss_percentile": "0.97764",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-27 18:17:11",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "linux",
            "product": "linux_kernel"
        },
        {
            "vendor": "mariadb",
            "product": "mariadb"
        },
        {
            "vendor": "oracle",
            "product": "mysql"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "23075",
            "title": "MySQL (Linux) - Stack Buffer Overrun (PoC)",
            "date": "2012-12-02",
            "url": "https://www.exploit-db.com/exploits/23075"
        }
    ],
    "refs_list": [
        "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00000.html",
        "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00001.html",
        "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00002.html",
        "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00013.html",
        "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00020.html",
        "http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html",
        "http://lists.opensuse.org/opensuse-updates/2013-09/msg00010.html",
        "http://rhn.redhat.com/errata/RHSA-2012-1551.html",
        "http://rhn.redhat.com/errata/RHSA-2013-0180.html",
        "http://seclists.org/fulldisclosure/2012/Dec/4",
        "http://secunia.com/advisories/51443",
        "http://secunia.com/advisories/53372",
        "http://security.gentoo.org/glsa/glsa-201308-06.xml",
        "http://www.debian.org/security/2012/dsa-2581",
        "http://www.exploit-db.com/exploits/23075",
        "http://www.mandriva.com/security/advisories?name=MDVSA-2013:102",
        "http://www.mandriva.com/security/advisories?name=MDVSA-2013:150",
        "http://www.openwall.com/lists/oss-security/2012/12/02/3",
        "http://www.openwall.com/lists/oss-security/2012/12/02/4",
        "http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html",
        "http://www.ubuntu.com/usn/USN-1658-1",
        "http://www.ubuntu.com/usn/USN-1703-1",
        "https://kb.askmonty.org/en/mariadb-5166-release-notes/",
        "https://kb.askmonty.org/en/mariadb-5213-release-notes/",
        "https://kb.askmonty.org/en/mariadb-5311-release-notes/"
    ]
}