CVE-2012-5612 Memory corruption in n/a

Medium 6.5 Published Updated

Remote authenticated users can trigger a heap-based buffer overflow in MySQL, causing denial of service or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-5612?

CVE-2012-5612 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 3 Dec 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2012-5612?

It affects 6 products.

Products include Canonical Ubuntu Linux, Mariadb Mariadb, Oracle Mysql, Suse Linux Enterprise Desktop, Suse Linux Enterprise Server, Suse Linux Enterprise Software Development Kit.

How do I fix CVE-2012-5612?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-5612 being exploited?

There is no known exploitation of CVE-2012-5612 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-j274-98hw-37wv.

Is CVE-2012-5612 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free