CVE-2012-5612

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
03/12/2012
Last modified:
11/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.1.0 (including) 5.1.67 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.2.0 (including) 5.2.14 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.3.0 (including) 5.3.12 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.5.0 (including) 5.5.29 (excluding)
cpe:2.3:a:mariadb:mariadb:10.0.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.5.0 (including) 5.5.28 (including)
cpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:*
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:*
cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools