Menu

Star on GitHub · 3.2k

CVE-2012-5612

6.5 · MEDIUM

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…

Published Dec 3, 2012mariadbCWE-787EPSS 20.84%

Overview

CVE-2012-5612 is a medium-severity vulnerability affecting mariadb mariadb. It was published on December 3, 2012 and has a CVSS 2.0 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from mariadb. Update mariadb to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
mariadbmariadb>= 5.1.0, < 5.1.67Affected
oraclemysql5.5.0Affected

Frequently asked questions

What is CVE-2012-5612?

CVE-2012-5612 is a medium-severity vulnerability affecting mariadb mariadb. It was published on December 3, 2012 and has a CVSS 2.0 base score of 6.5 (MEDIUM).

How severe is CVE-2012-5612?

This vulnerability has a CVSS 2.0 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2012-5612?

Check the references section for vendor advisories and patches from mariadb. Update mariadb to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2012-5612?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2012-5612 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2012

View all