CVE-2012-5612: 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, all…

CVE-2012-5612 affects 31 listed versions of MariaDB in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
21%EPSS (next 30 days)
3 December 2012published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MariaDB

31 of 250 listed versions are affected. Fixed in 5.3.12, 5.2.14, 5.1.67. The newest release, 13.1.2, is not affected.

5.3.11 5.3.10 5.3.9 5.3.8 5.3.7 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 5.3.0 5.2.13 5.2.12 5.2.11 5.2.10 5.2.9 5.2.8 5.2.7 5.2.6 5.2.5 5.2.4 5.2.3 5.2.2 5.2.1 5.2.0 5.1.66 5.1.62 5.1.61 5.1.60 5.1.55

What it is

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 (NVD)

Published by Red Hat on 3 December 2012. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2012-5612 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.