← Vulnerability feed

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

CVE-2012-5612: Mariadb out-of-bounds write vulnerability

Mariadb · Mariadb

Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code, as demonstrated using certain variations of the (1) USE, (2) SHOW TABLES, (3) DESCRIBE, (4) SHOW FIELDS FROM, (5) SHOW COLUMNS FROM, (6) SHOW INDEX FROM, (7) CREATE TABLE, (8) DROP TABLE, (9) ALTER TABLE, (10) DELETE FROM, (11) UPDATE, and (12) SET PASSWORD commands.

6.5 CVSS 2.0 Medium EPSS 21% · top 2.5% CWE-787 · Out-of-bounds write
6.5CVSS 2.0 base score
21%EPSS exploitation probability, 30 days
NoNot in CISA KEV
6Affected product versions listed by NVD
26References, 6 tagged exploit
16 Jun 2026Last modified by NVD

Description

Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code, as demonstrated using certain variations of the (1) USE, (2) SHOW TABLES, (3) DESCRIBE, (4) SHOW FIELDS FROM, (5) SHOW COLUMNS FROM, (6) SHOW INDEX FROM, (7) CREATE TABLE, (8) DROP TABLE, (9) ALTER TABLE, (10) DELETE FROM, (11) UPDATE, and (12) SET PASSWORD commands.

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

Affected products

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

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2012/Dec/5 ExploitMailing ListThird Party Advisory
http://secunia.com/advisories/53372 Not Applicable
http://security.gentoo.org/glsa/glsa-201308-06.xml Third Party Advisory
http://www.exploit-db.com/exploits/23076 ExploitThird Party AdvisoryVDB Entry
http://www.mandriva.com/security/advisories?name=MDVSA-2013:102 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 Broken Link
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 Vendor Advisory
http://www.ubuntu.com/usn/USN-1703-1 Third Party Advisory
https://mariadb.atlassian.net/browse/MDEV-3908 Broken LinkExploitPatch
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16960 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2012/Dec/5 ExploitMailing ListThird Party Advisory
http://secunia.com/advisories/53372 Not Applicable
http://security.gentoo.org/glsa/glsa-201308-06.xml Third Party Advisory
http://www.exploit-db.com/exploits/23076 ExploitThird Party AdvisoryVDB Entry
http://www.mandriva.com/security/advisories?name=MDVSA-2013:102 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 Broken Link
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 Vendor Advisory
http://www.ubuntu.com/usn/USN-1703-1 Third Party Advisory
https://mariadb.atlassian.net/browse/MDEV-3908 Broken LinkExploitPatch
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16960 Third Party Advisory

Track CVE-2012-5612 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.

9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed9.8CVE-2016-4171Adobe Flash Player unspecified remote code execution flawCVE-2016-4171 is an unspecified vulnerability in Adobe Flash Player 21.0.0.242 and earlier that allows remote attackers to execute arbitrary code thr…KEVEPSS 20%analysed

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