Skip to content
WatchlistMedium

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

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
ProductAffected versionsFixed in
MariadbMariadb5.1.41, 5.1.42, 5.1.44, 5.1.47, 5.1.49, 5.1.50, 5.1.51, 5.1.5310.0.22-3.8
MysqlOracle5.1.53, 5.5.195.0.95-5.el5_9
mysql-5.1debianSee advisory5.1.66-0+squeeze1
mysql51-benchamazonSee advisory5.1.66-1.57.amzn1
mysql51-commonamazonSee advisory5.1.66-1.57.amzn1
20 more affected products in the full CVE brief

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

  1. Publicly disclosed

    Nov 29, 2012

  2. 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

15 more references in the full CVE brief

FAQ

Common Questions.

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

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.