VRT 391,810 CVEs tracked · 15,472 in RASP scope · data as of 55 minutes ago

CVE-2012-5612

6.5 Medium Not applicable

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.

CWE-787 · Out-of-bounds write

Exploitation Status

Working exploit published

A reviewed exploit catalogue carries this CVE. Somebody has published code a stranger can run.

CVSS E:P

  • CISA KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2012-12-02.
  • EPSS 21% chance in 30 days A model prediction, not an observation. Higher than 97% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB MySQL (Linux) - Heap Overrun (PoC) 2012-12-02

Waratek Defense Posture

Not applicable

Not a Java vulnerability. Outside ARMR's domain entirely.

  • Protection none
  • Action not-needed none
  • Review human manual-review
  • Record active
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.

CVSS

6.5 v2.0 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.

VersionScoreBandVectorAssignerType
CVSS 2.0 6.5 no band published AV:N/AC:L/Au:S/C:P/I:P/A:P NVD Primary published

Affected Software & Releases

🏛️ Oracle CPU Advisories & Products

AdvisoryTypeQuarterProducts Oracle named in risk matrix
Oracle Critical Patch Update January 2013 CPU 2013-Q1 Oracle MySQL / MySQL Server (5.5.28 and earlier)

Indexed Oracle Components & Versions

FamilyComponentOracle's version cell (verbatim)Indexed as
Oracle MySQL MySQL Server 5.5.28 and earlier

🖥️ Product CPEs & Version Ranges

6 product(s) over 13 version claims (uncapped)
SourceVendorProductSchemeAffected 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

Manual classification context

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

References

URLTags
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

Timeline

Published 2012-12-03 Last modified 2026-06-16
Published2012-12-03By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.