CVE-2012-5612

medium
Published 2012-12-03 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-23076 dos linux
kingcope ยท 2012-12-02

MySQL (Linux) - Heap Overrun (PoC)

Source code queued for fetch โ€” refresh in a moment.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
11 Affected โ€”
ubuntu Ubuntu Affected 4 releases
VersionStatusFixed in
12.10 Affected โ€”
12.04 Affected โ€”
11.10 Affected โ€”
10.04 Affected โ€”

Application impact

VendorProductVersionsFixed
mysql mariadbmariadb{"startIncluding":"5.1.0","endExcluding":"5.1.67"}5.1.67
mysql mariadbmariadb10.0.0
oracle oraclemysql{"startIncluding":"5.5.0","endIncluding":"5.5.28"}
mysql mariadbmariadb{"startIncluding":"5.2.0","endExcluding":"5.2.14"}5.2.14
mysql mariadbmariadb{"startIncluding":"5.3.0","endExcluding":"5.3.12"}5.3.12
mysql mariadbmariadb{"startIncluding":"5.5.0","endExcluding":"5.5.29"}5.5.29

References

CWEs

CWE-787

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.