Original 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.
Affected software
- MariaDB ≥ 5.1.0 < 5.1.67≥ 5.2.0 < 5.2.14= 10.0.0≥ 5.5.0 < 5.5.29≥ 5.3.0 < 5.3.12 Fixed in: 5.1.67, 5.2.14, 5.5.29, 5.3.12 exact match
Details
- Published
- 2012-12-03
- Last modified
- 2026-06-16
- CVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:P- CWE
- CWE-787
- EPSS (30-day exploit probability)
- 21.00% (percentile 98)
References
- cve.org/CVE-2012-5612
- nvd.nist.gov/vuln/detail/CVE-2012-5612
- lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html
- seclists.org/fulldisclosure/2012/Dec/5
- secunia.com/advisories/53372
- security.gentoo.org/glsa/glsa-201308-06.xml
- www.exploit-db.com/exploits/23076
- www.mandriva.com/security/advisories?name=MDVSA-2013:102
- www.mandriva.com/security/advisories?name=MDVSA-2013:150
- www.openwall.com/lists/oss-security/2012/12/02/3
- www.openwall.com/lists/oss-security/2012/12/02/4
- www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
- www.ubuntu.com/usn/USN-1703-1
- mariadb.atlassian.net/browse/MDEV-3908
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.