CWE
119
Advisory Published
Updated

CVE-2012-5611: Buffer Overflow

First published: Mon Dec 03 2012(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
MariaDB=5.1.41
MariaDB=5.1.42
MariaDB=5.1.44
MariaDB=5.1.47
MariaDB=5.1.49
MariaDB=5.1.50
MariaDB=5.1.51
MariaDB=5.1.53
MariaDB=5.1.55
MariaDB=5.1.60
MariaDB=5.1.61
MariaDB=5.1.62
MariaDB=5.2.0
MariaDB=5.2.1
MariaDB=5.2.2
MariaDB=5.2.3
MariaDB=5.2.4
MariaDB=5.2.5
MariaDB=5.2.6
MariaDB=5.2.7
MariaDB=5.2.8
MariaDB=5.2.9
MariaDB=5.2.10
MariaDB=5.2.11
MariaDB=5.2.12
MariaDB=5.3.0
MariaDB=5.3.1
MariaDB=5.3.2
MariaDB=5.3.3
MariaDB=5.3.4
MariaDB=5.3.5
MariaDB=5.3.6
MariaDB=5.3.7
MariaDB=5.3.8
MariaDB=5.3.9
MariaDB=5.3.10
MariaDB=5.5.20
MariaDB=5.5.21
MariaDB=5.5.22
MariaDB=5.5.23
MariaDB=5.5.24
MariaDB=5.5.25
MariaDB=5.5.27
MariaDB=5.5.28
Oracle MySQL=5.1.53
Oracle MySQL=5.5.19
Linux
All of
Any of
MariaDB=5.1.41
MariaDB=5.1.42
MariaDB=5.1.44
MariaDB=5.1.47
MariaDB=5.1.49
MariaDB=5.1.50
MariaDB=5.1.51
MariaDB=5.1.53
MariaDB=5.1.55
MariaDB=5.1.60
MariaDB=5.1.61
MariaDB=5.1.62
MariaDB=5.2.0
MariaDB=5.2.1
MariaDB=5.2.2
MariaDB=5.2.3
MariaDB=5.2.4
MariaDB=5.2.5
MariaDB=5.2.6
MariaDB=5.2.7
MariaDB=5.2.8
MariaDB=5.2.9
MariaDB=5.2.10
MariaDB=5.2.11
MariaDB=5.2.12
MariaDB=5.3.0
MariaDB=5.3.1
MariaDB=5.3.2
MariaDB=5.3.3
MariaDB=5.3.4
MariaDB=5.3.5
MariaDB=5.3.6
MariaDB=5.3.7
MariaDB=5.3.8
MariaDB=5.3.9
MariaDB=5.3.10
MariaDB=5.5.20
MariaDB=5.5.21
MariaDB=5.5.22
MariaDB=5.5.23
MariaDB=5.5.24
MariaDB=5.5.25
MariaDB=5.5.27
MariaDB=5.5.28
MySQL=5.1.53
MySQL=5.5.19
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2012-5611?

    CVE-2012-5611 has been classified as a high-severity vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2012-5611?

    To fix CVE-2012-5611, you should upgrade to MySQL version 5.5.29 or later, or MariaDB version 5.5.28a or later.

  • What versions of MySQL are affected by CVE-2012-5611?

    CVE-2012-5611 affects MySQL versions 5.5.19 to 5.5.28 and 5.1.53 to 5.1.66.

  • Which MariaDB versions are impacted by CVE-2012-5611?

    CVE-2012-5611 affects MariaDB versions 5.1.53 through 5.1.66, 5.2.x before 5.2.13, 5.3.x before 5.3.11, and 5.5.2.x before 5.5.28a.

  • What is a stack-based buffer overflow in the context of CVE-2012-5611?

    A stack-based buffer overflow in CVE-2012-5611 allows attackers to exploit the function acl_get, leading to potential execution of arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203