Back to CVE catalog
CVE-2012-5611

Stack-based buffer overflow in acl_get function

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.5Medium
Published:
Updated:
EPSS:
23.956%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mariadbmariadb
Environments (33)
  • arch
  • bionic
  • bookworm
  • bullseye
  • buster
  • cpe:2.3:o:almalinux:almalinux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:amazon:amazon_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:*:*:*:*:*:*:*:*
  • cpe:2.3:o:oracle:linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:rocky:rocky:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sled:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sles:*:*:*:*:*:*:*:*
  • faye
  • focal
  • jammy
  • jessie
  • noble
  • resolute
  • sid
  • stretch
  • trixie
  • trusty
  • ulyana
  • ulyssa
  • uma
  • una
  • vanessa
  • vera
  • victoria
  • virginia
  • wilma
  • xenial
Affected versions:
5.1.41Show full version range for mariadb
5.1.425.1.445.1.475.1.495.1.505.1.515.1.535.1.555.1.605.1.615.1.625.2.05.2.15.2.105.2.115.2.125.2.25.2.35.2.45.2.55.2.65.2.75.2.85.2.95.3.05.3.15.3.105.3.25.3.35.3.45.3.55.3.65.3.75.3.85.3.95.5.205.5.215.5.225.5.235.5.245.5.255.5.275.5.28
Vendor:oraclemysql
Environments (33)
  • arch
  • bionic
  • bookworm
  • bullseye
  • buster
  • cpe:2.3:o:almalinux:almalinux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:amazon:amazon_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:*:*:*:*:*:*:*:*
  • cpe:2.3:o:oracle:linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:rocky:rocky:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sled:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sles:*:*:*:*:*:*:*:*
  • faye
  • focal
  • jammy
  • jessie
  • noble
  • resolute
  • sid
  • stretch
  • trixie
  • trusty
  • ulyana
  • ulyssa
  • uma
  • una
  • vanessa
  • vera
  • victoria
  • virginia
  • wilma
  • xenial
Affected versions:
5.1.53Show full version range for mysql
5.5.19
Vendor:oraclelinuxmysql
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-5.el5_9
Vendor:oraclelinuxmysql-bench
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-5.el5_9
Vendor:oraclelinuxmysql-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-5.el5_9
Vendor:oraclelinuxmysql-server
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-5.el5_9
Vendor:oraclelinuxmysql-test
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-5.el5_9
Vendor:oraclelinuxmysql
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.1.66-2.el6_3
Vendor:oraclelinuxmysql-bench
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.1.66-2.el6_3
Vendor:oraclelinuxmysql-devel
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.1.66-2.el6_3

1–10 of 161 · Page 1 of 17

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:P/A:P
alas · Wazuh CTI (adp)6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:P/A:P
nvd · Wazuh CTI (cna)6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:P/A:P
oraclelinux · Wazuh CTI (adp)6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:P/A:P
redhat · Wazuh CTI (adp)6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories54

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences