Skip to content
Fencer Intel
medium 6.5

CVE-2012-5611 json

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…

published 2012-12-03 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5497

cvss
6.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
24.0%
EPSS 24.0% chance of exploitation in 30 days, percentile 97%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • mysql RHEL 5 5.0.95-5.el5_9
  • mysql-test RHEL 5 5.0.95-5.el5_9
  • mysql-bench RHEL 5 5.0.95-5.el5_9
  • mysql-server RHEL 5 5.0.95-5.el5_9
  • mysql RHEL 6 5.1.66-2.el6_3
  • mysql-libs RHEL 6 5.1.66-2.el6_3
  • mysql-test RHEL 6 5.1.66-2.el6_3
  • mysql-bench RHEL 6 5.1.66-2.el6_3

red hat advisories RHSA-2013:0180RHSA-2012:1551

  • mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
  • lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
  • python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
  • mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
  • mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
  • python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7

suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1

  • mariadb openSUSE Tumbleweed 10.0.22-3.8

opensuse advisories openSUSE-SU-2024:10153-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-5611 updated cvss 6.5

mysql: acl_get() stack-based buffer overflow

  • Red Hat Enterprise Linux (v. 5 server) mysql 5.0.95-5.el5_9, mysql-test 5.0.95-5.el5_9, mysql-bench 5.0.95-5.el5_9, mysql-server 5.0.95-5.el5_9
    fixed: vendor fix RHSA-2013:0180
  • Red Hat Enterprise Linux Desktop (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3 Red Hat Enterprise Linux Server (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3 Red Hat Enterprise Linux Server Optional (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3 Red Hat Enterprise Linux Workstation Optional (v. 6) mysql 5.1.66-2.el6_3, mysql-libs 5.1.66-2.el6_3, mysql-test 5.1.66-2.el6_3, mysql-bench 5.1.66-2.el6_3, mysql-server 5.1.66-2.el6_3, mysql-embedded 5.1.66-2.el6_3
    fixed: vendor fix RHSA-2012:1551

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-23075)
  2. Published

Exploit prediction

23.96% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-23075 MySQL (Linux) - Stack Buffer Overrun (PoC) dos, 2012-12-02

CVSS scores

assigned by version score vector
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.