← Vulnerability feed

Vulnerability record · CVE-2012-5611 · published 3 December 2012

CVE-2012-5611: Mariadb memory buffer overflow vulnerability

Mariadb · Mariadb

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.

6.5 CVSS 2.0 Medium EPSS 24% · top 2.2% CWE-119 · Memory buffer overflow
6.5CVSS 2.0 base score
24%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
54References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00000.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00001.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00002.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00013.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00020.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-09/msg00010.html Mailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-1551.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2013-0180.html Third Party Advisory
http://seclists.org/fulldisclosure/2012/Dec/4 Mailing ListThird Party Advisory
http://secunia.com/advisories/51443 Broken Link
http://secunia.com/advisories/53372 Broken Link
http://security.gentoo.org/glsa/glsa-201308-06.xml Third Party Advisory
http://www.debian.org/security/2012/dsa-2581 Third Party Advisory
http://www.exploit-db.com/exploits/23075 Third Party AdvisoryVDB Entry
http://www.mandriva.com/security/advisories?name=MDVSA-2013:102 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 Third Party Advisory
http://www.openwall.com/lists/oss-security/2012/12/02/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2012/12/02/4 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html Third Party Advisory
http://www.ubuntu.com/usn/USN-1658-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1703-1 Third Party Advisory
https://kb.askmonty.org/en/mariadb-5166-release-notes/ Third Party Advisory
https://kb.askmonty.org/en/mariadb-5213-release-notes/ Third Party Advisory
https://kb.askmonty.org/en/mariadb-5311-release-notes/ Third Party Advisory
https://kb.askmonty.org/en/mariadb-5528a-release-notes/ Third Party Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16395 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00000.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00001.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00002.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00013.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00020.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-09/msg00010.html Mailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-1551.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2013-0180.html Third Party Advisory
http://seclists.org/fulldisclosure/2012/Dec/4 Mailing ListThird Party Advisory
http://secunia.com/advisories/51443 Broken Link
http://secunia.com/advisories/53372 Broken Link
http://security.gentoo.org/glsa/glsa-201308-06.xml Third Party Advisory

Track CVE-2012-5611 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2012-2750Oracle mysql vulnerabilityUnspecified vulnerability in MySQL 5.5.x before 5.5.23 has unknown impact and attack vectors related to a "Security Fix", aka Bug #59533. NOTE: this …EPSS 3.6%10.0CVE-2004-0836Oracle mysql memory buffer overflow vulnerabilityBuffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of…EPSS 9.8%9.9CVE-2026-32710Mariadb heap-based buffer overflow vulnerabilityMariaDB server is a community developed fork of MySQL server. An authenticated user can crash MariaDB versions 11.4 before 11.4.10 and 11.8 before 11…EPSS 0.80%9.8CVE-2026-49261Mariadb os command injection vulnerabilityMariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through 10.11.17, 11.4.1 through 11.4.11, 11.8…EPSS 1.7%9.8CVE-2023-26785Mariadb code injection vulnerabilityMariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a "create funct…EPSS 2.2%9.8CVE-2020-11656Sqlite use after free vulnerabilityIn SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELEC…EPSS 7.6%9.8CVE-2019-14540Fasterxml jackson-databind deserialization of untrusted data vulnerabilityA Polymorphic Typing issue was discovered in FasterXML jackson-databind before 2.9.10. It is related to com.zaxxer.hikari.HikariConfig.EPSS 11%9.8CVE-2016-9843Zlib vulnerabilityThe crc32_big function in crc32.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors involving big-endian C…EPSS 5.8%

Source: NIST National Vulnerability Database (record CVE-2012-5611), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.