CVE-2012-5612
Reported by redhat · Published December 3, 2012
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mariadb | mariadb | 5.5.29, 5.3.12, 5.2.14, 5.1.67 |
| mysql | oracle | 5.5.28 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Dec 3, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Jun 1, 2026 Security Advisory (3 in total, the first dated here)
- Aug 8, 2026 Distribution Patch
- Oct 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-5612
vulnetix vdb fixes CVE-2012-5612
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-5612/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 23076 exploitx_refsource_EXPLOIT-DB
- 20121201 MySQL (Linux) Heap Based Overrun PoC Zeroday mailing-listx_refsource_FULLDISC
- USN-1703-1 vendor-advisoryx_refsource_UBUNTU
- MDVSA-2013:102 vendor-advisoryx_refsource_MANDRIVA
- 53372 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- [oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday mailing-listx_refsource_MLIST
- GLSA-201308-06 vendor-advisoryx_refsource_GENTOO
- [oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday mailing-listx_refsource_MLIST
- SUSE-SU-2013:0262 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- oval:org.mitre.oval:def:16960 vdb-entrysignaturex_refsource_OVAL
- MDVSA-2013:150 vendor-advisoryx_refsource_MANDRIVA