CVE-2012-5611Mariadb Memory Corruption
mysql: acl_get() stack-based buffer overflow
Published Nov 29, 2012 · Updated Mar 9, 2026
Key Facts
Routine patching- CVE-2012-5611 is a medium-severity vulnerability (CVSS 6.5 v2) affecting Mariadb, Mysql (Oracle), mysql-5.1 (debian) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 24% probability of exploitation in the next 30 days.
- Fixed versions are available, including liblz4-1 1.8.0-3.5.2, libmariadb_plugins 3.1.22-2.35.1, libmariadb-devel 3.1.22-2.35.1.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
6.5
AV:N/AC:L/Au:S/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
24%
Higher than 97.8% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
35/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryopenSUSE-SU-2013:0011
- advisoryopenSUSE-SU-2013:0013
- advisoryopenSUSE-SU-2013:0014
- advisoryopenSUSE-SU-2013:0135
- advisoryopenSUSE-SU-2013:0156
- advisorySUSE-SU-2013:0262
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.
Affected Products
212 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MariadbMariadb | 5.1.41, 5.1.42, 5.1.44, 5.1.47, 5.1.49, 5.1.50, 5.1.51, 5.1.53 | 10.0.22-3.8 |
| MysqlOracle | 5.1.53, 5.5.19 | 5.0.95-5.el5_9 |
| mysql-5.1debian | See advisory | 5.1.66-0+squeeze1 |
| mysql51-benchamazon | See advisory | 5.1.66-1.57.amzn1 |
| mysql51-commonamazon | See advisory | 5.1.66-1.57.amzn1 |
Patched Releases
liblz4-1
1.8.0-3.5.2
libmariadb_plugins
3.1.22-2.35.1
libmariadb-devel
3.1.22-2.35.1
libmariadb3
3.1.22-2.35.1
libmariadbd104-devel
10.4.30-150100.3.5.10, 10.4.30-8.5.46
libmariadbd19
10.4.30-150100.3.5.10, 10.4.30-8.5.46
libmysqlclient_r15
5.0.96-0.6.1
libmysqlclient_r18
10.0.22-3.8
libmysqlclient_r18-32bit
10.0.22-3.8
libmysqlclient-devel
10.0.22-3.8
libmysqlclient15
5.0.96-0.6.1
libmysqlclient15-32bit
5.0.96-0.6.1
libmysqlclient15-x86
5.0.96-0.6.1
libmysqlclient18
10.0.22-3.8
libmysqlclient18-32bit
10.0.22-3.8
libmysqld-devel
10.0.22-3.8
libmysqld18
10.0.22-3.8
lz4
1.8.0-3.5.2
Mariadb
10.0.22-3.8
mariadb-bench
10.0.22-3.8
mariadb-client
10.0.22-3.8
mariadb-connector-c
3.1.22-2.35.1
mariadb-errormessages
10.0.22-3.8
mariadb-test
10.0.22-3.8
mariadb-tools
10.0.22-3.8
Timeline
Publicly disclosed
Nov 29, 2012
Last updated
Mar 9, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121 Stack-based Buffer Overflow
References
- advisoryopenSUSE-SU-2013:0011
- advisoryopenSUSE-SU-2013:0013
- advisoryopenSUSE-SU-2013:0014
- advisoryopenSUSE-SU-2013:0135
- advisoryopenSUSE-SU-2013:0156
FAQ
Common Questions.
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 v…
Affected: Mariadb versions 5.1.41, 5.1.42, 5.1.44, 5.1.47, 5.1.49, 5.1.50, 5.1.51, 5.1.53; Mysql (Oracle) versions 5.1.53, 5.5.19; mysql-5.1 (debian), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including liblz4-1 1.8.0-3.5.2, libmariadb_plugins 3.1.22-2.35.1, libmariadb-devel 3.1.22-2.35.1.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2012-5611 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo