CVE-2012-5612

Exp

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.

Published: 2012-12-03 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-5612 is rated High Exploit Risk (70/100): CVSS Medium severity, with high exploitation likelihood (EPSS 20.84%, 97th percentile). Core evidence: 4 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-5612

EDB-ID Source Kind Published Link
23076 exploit_db edb 2012-12-02 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-5612

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 66.84% 20.84% -46.01%
2 2025-12-28 58.21% 66.84% +8.63%
3 2025-12-27 58.21%

Full EPSS history (27 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-5612

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 2.0 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.0 6.4 [email protected]

Weakness enumeration for CVE-2012-5612

OS Trackers for CVE-2012-5612

vendor priority summary link
gentoo high CVE-2012-5612: 1 GLSA(s) (201308-06), 1 atom(s) (dev-db/mysql); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-5612
redhat high https://access.redhat.com/security/cve/CVE-2012-5612
suse medium CVE-2012-5612 severity moderate: SUSE including 83 source package names (liblz4-1-1.8.0-3.5.2, libmariadb-devel-3.1.22-2.35.1, …), 226 product×package rows across 32 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 7.1, … (32 product lines)): Fixed 160, Known Not Affected 66. https://www.suse.com/security/cve/CVE-2012-5612/
ubuntu medium CVE-2012-5612 medium priority: Ubuntu including 1 source packages (mysql-5.5), 6 status rows across 6 suites (hardy, lucid, oneiric, precise, quantal, upstream): DNE 3, released 3. https://ubuntu.com/security/CVE-2012-5612

Affected software / configurations for CVE-2012-5612

Vendor Product Version Raw CPE
mariadb mariadb >= 5.1.0, < 5.1.67 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 5.2.0, < 5.2.14 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 5.3.0, < 5.3.12 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 5.5.0, < 5.5.29 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb 10.0.0 cpe:2.3:a:mariadb:mariadb:10.0.0:*:*:*:*:*:*:*
oracle mysql >= 5.5.0, <= 5.5.28 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
suse linux_enterprise_desktop 11 cpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:*
suse linux_enterprise_server 11 cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:*
suse linux_enterprise_server 11 cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:*
suse linux_enterprise_software_development_kit 11 cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:*
canonical ubuntu_linux 10.04 cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*
canonical ubuntu_linux 11.10 cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
canonical ubuntu_linux 12.10 cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*

References for CVE-2012-5612

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
http://www.ubuntu.com/usn/USN-1703-1 Third Party Advisory
https://mariadb.atlassian.net/browse/MDEV-3908 Broken Link Exploit Patch
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16960 Third Party Advisory
cvelogic Threat Intelligence