CVE-2012-5612Heap-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.
CWE-787 · Out-of-bounds write
Working exploit published
A reviewed exploit catalogue carries this CVE. Somebody has published code a stranger can run.
CVSS E:P
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Exploit-DB | MySQL (Linux) - Heap Overrun (PoC) | 2012-12-02 |
Not a Java vulnerability. Outside ARMR's domain entirely.
| Decided by | manual classification : Manual classification of this CVE in the legacy dataset |
|---|---|
| Finding | Historical classification excluded this CVE and no tracked product appears on the record, so it is not a Java problem ARMR was ever asked to address. |
AV:N/AC:L/Au:S/C:P/I:P/A:P
1 metric
VRT selects the newest version's highest entry and
publishes it as cvssScore, newest rather than largest because scores are not comparable
across versions, and highest rather than first because the first entry is frequently a CNA placeholder
scoring 0.0 over NVD's own analysis.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 2.0 | 6.5 | no band published | AV:N/AC:L/Au:S/C:P/I:P/A:P |
NVD | Primary | published |
| Advisory | Type | Quarter | Products Oracle named in risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update January 2013 ↗ | CPU | 2013-Q1 | Oracle MySQL / MySQL Server (5.5.28 and earlier) |
| Family | Component | Oracle's version cell (verbatim) | Indexed as |
|---|---|---|---|
| Oracle MySQL | MySQL Server | 5.5.28 and earlier |
| Source | Vendor | Product | Scheme | Affected Versions |
|---|---|---|---|---|
| nvd | canonical | ubuntu linux | generic | 10.04 · 11.10 · 12.04 · 12.10 |
| nvd | mariadb | mariadb | generic | ≥ 5.1.0 and < 5.1.67 · ≥ 5.2.0 and < 5.2.14 · ≥ 5.3.0 and < 5.3.12 · ≥ 5.5.0 and < 5.5.29 · 10.0.0 |
| nvd | oracle | mysql | generic | ≥ 5.5.0 and ≤ 5.5.28 |
| nvd | suse | linux enterprise desktop | generic | 11:sp2 |
| nvd | suse | linux enterprise server | generic | 11:sp2 |
| nvd | suse | linux enterprise software development kit | generic | 11:sp2 |
A reviewer manually classified this CVE. The retained record includes the labels and products below, but not the reviewer's reasoning.
## Manual Classification Context **Labels:** MYSQL PROTOCOL, SEE NOTE 1, SERVER PARSER **Products:** MYSQL, MYSQL SERVER, ORACLE MYSQL
| URL | Tags |
|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html | Mailing List, Third Party Advisory |
| http://seclists.org/fulldisclosure/2012/Dec/5 | Exploit, Mailing List, Third Party Advisory |
| http://secunia.com/advisories/53372 | Not Applicable |
| http://security.gentoo.org/glsa/glsa-201308-06.xml | Third Party Advisory |
| http://www.exploit-db.com/exploits/23076 | Exploit, Third Party Advisory, VDB Entry |
| http://www.mandriva.com/security/advisories?name=MDVSA-2013:102 | Broken Link |
| http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 | Broken Link |
| http://www.openwall.com/lists/oss-security/2012/12/02/3 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2012/12/02/4 | Mailing List, Third Party Advisory |
| http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html | Vendor Advisory |
| Published | 2012-12-03 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-16 | NVD's own last-modified date for this record. |