CVE-2012-5611

CVE-2012-5611 is a medium-severity vulnerability in Mariadb with a CVSS 2.0 base score of 6.5. Its EPSS exploit-prediction score of 25% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.

Key facts

Description

Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53 and other versions through 5.1.66, and MariaDB 5.5.2.x before 5.5.28a, 5.3.x before 5.3.11, 5.2.x before 5.2.13 and 5.1.x before 5.1.66, allows remote authenticated users to execute arbitrary code via a long argument to the GRANT FILE command.

Frequently asked questions

What is CVE-2012-5611?
Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53 and other versions through 5.1.66, and MariaDB 5.5.2.x before 5.5.28a, 5.3.x before 5.3.11, 5.2.x before 5.2.13 and 5.1.x before 5.1.66, allows remote authenticated users to execute arbitrary code via a long argument to the GRANT FILE command.
How severe is CVE-2012-5611?
CVE-2012-5611 has a CVSS 2.0 base score of 6.5, rated medium severity.
Is CVE-2012-5611 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 25% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-5611?
CVE-2012-5611 primarily affects Mariadb. In total, 46 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-5611?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-5611 published?
CVE-2012-5611 was published on 2012-12-03 and last updated on 2026-06-16.

References

Affected products (46)

More vulnerabilities in Mariadb

All CVEs affecting Mariadb →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →