CVE-2012-5612

medium
Published 2012-12-03 · Modified 2026-04-29
CVSS v3
CVSS v2
6.5
VIR risk
6.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://mariadb.atlassian.net/browse/MDEV-3908

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html

OS impact

OSVersionStatusFixed in
suse suse11affected
ubuntu ubuntu10.04affected
ubuntu ubuntu11.10affected
ubuntu ubuntu12.04affected
ubuntu ubuntu12.10affected

Application impact

VendorProductVersionsFixed
mysql mariadbmariadb{"startIncluding":"5.1.0","endExcluding":"5.1.67"}5.1.67
mysql mariadbmariadb10.0.0
oracle oraclemysql{"startIncluding":"5.5.0","endIncluding":"5.5.28"}
mysql mariadbmariadb{"startIncluding":"5.2.0","endExcluding":"5.2.14"}5.2.14
mysql mariadbmariadb{"startIncluding":"5.3.0","endExcluding":"5.3.12"}5.3.12
mysql mariadbmariadb{"startIncluding":"5.5.0","endExcluding":"5.5.29"}5.5.29

References

CWEs

CWE-787

Verify integrity in audit chain (admin only). AS-IS.