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_9fixed: 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_3fixed: vendor fix RHSA-2012:1551
+2 more productsfewer
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
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
- First public exploit (EDB-23075)
- 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
-
exploit-db.com
/exploits/23075
exploit, third-party-advisory, vdb-entry
-
lists.opensuse.org
/opensuse-security-announce/2013-01/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-1703-1
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:102
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-01/msg00020.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-01/msg00013.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-01/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0180.html
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/glsa-201308-06.xml
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1551.html
vendor-advisory, third-party-advisory
-
debian.org
/security/2012/dsa-2581
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-02/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-01/msg00002.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-09/msg00010.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-1658-1
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:150
vendor-advisory, third-party-advisory
-
kb.askmonty.org
/en/mariadb-5528a-release-notes/
third-party-advisory
-
secunia.com
/advisories/53372
third-party-advisory, broken-link
-
oracle.com
/technetwork/topics/security/cpujan2013-1515902.html
third-party-advisory
-
openwall.com
/lists/oss-security/2012/12/02/3
mailing-list, third-party-advisory
-
kb.askmonty.org
/en/mariadb-5166-release-notes/
third-party-advisory
-
seclists.org
/fulldisclosure/2012/Dec/4
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2012/12/02/4
mailing-list, third-party-advisory
-
secunia.com
/advisories/51443
third-party-advisory, broken-link
-
kb.askmonty.org
/en/mariadb-5311-release-notes/
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16395
vdb-entry, signature, third-party-advisory
-
kb.askmonty.org
/en/mariadb-5213-release-notes/
third-party-advisory
Sources
- CVE List CVE-2012-5611
- NVD CVE-2012-5611
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.