Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2012-5611: 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…

MediumCVSS 6.5 · v2.0—Proof of concept Fix available

Noroxi assessment

Priority: Monitor (action score 33/100)

  • Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 23.9% (FIRST EPSS); higher than 97.8% of all records.
  • No special conditions are required; it is repeatable.
  • Fixed version: mysql-5.1 (Debian:6.0) 5.1.66-0+squeeze1; mariadb (openSUSE:Tumbleweed) 10.0.22-3.8; mysql (Red Hat:enterprise_linux:5::server) 0:5.0.95-5.el5_9.

Low priority for now. Upgrade to mysql-5.1 (Debian:6.0) 5.1.66-0+squeeze1; mariadb (openSUSE:Tumbleweed) 10.0.22-3.8; mysql (Red Hat:enterprise_linux:5::server) 0:5.0.95-5.el5_9 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Dec 3, 2012
Updated
Jun 16, 2026
EPSS
23.9% · 97th percentile

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
7 / 30 · 23.9%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2012-5611

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is MySQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Is MySQL on your server exposed to the internet?Run a port scan

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
oraclemysql
mariadbmariadb
linuxlinux kernel

Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)

Watch new CVEs for mysql

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is MySQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is MySQL on your server exposed to the internet?

The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.

Run a port scan

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • oracle mysql5.1.53
  • oracle mysql5.5.19

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:6.0mysql-5.1before 5.1.66-0+squeeze15.1.66-0+squeeze1
openSUSE:Tumbleweedmariadbbefore 10.0.22-3.810.0.22-3.8
Red Hat:enterprise_linux:5::servermysqlbefore 0:5.0.95-5.el5_90:5.0.95-5.el5_9
Red Hat:enterprise_linux:5::servermysql-benchbefore 0:5.0.95-5.el5_90:5.0.95-5.el5_9
Red Hat:enterprise_linux:5::servermysql-debuginfobefore 0:5.0.95-5.el5_90:5.0.95-5.el5_9
Red Hat:enterprise_linux:5::servermysql-develbefore 0:5.0.95-5.el5_90:5.0.95-5.el5_9
Red Hat:enterprise_linux:5::servermysql-serverbefore 0:5.0.95-5.el5_90:5.0.95-5.el5_9
Red Hat:enterprise_linux:5::servermysql-testbefore 0:5.0.95-5.el5_90:5.0.95-5.el5_9
Red Hat:enterprise_linux:6::clientmysqlbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-benchbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-debuginfobefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-develbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-embeddedbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-embedded-develbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-libsbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-serverbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
Red Hat:enterprise_linux:6::clientmysql-testbefore 0:5.1.66-2.el6_30:5.1.66-2.el6_3
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSmariadb104before 10.4.30-150100.3.5.1010.4.30-150100.3.5.10
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSpython-mysqlclientbefore 1.4.6-150100.3.3.71.4.6-150100.3.3.7
SUSE:Linux Enterprise Software Development Kit 12 SP5lz4before 1.8.0-3.5.21.8.0-3.5.2
SUSE:Linux Enterprise Software Development Kit 12 SP5mariadb-connector-cbefore 3.1.22-2.35.13.1.22-2.35.1
SUSE:Linux Enterprise Software Development Kit 12 SP5mariadb104before 10.4.30-8.5.4610.4.30-8.5.46
SUSE:Linux Enterprise Software Development Kit 12 SP5python-mysqlclientbefore 1.3.14-8.9.21.3.14-8.9.2

Other highest-scoring records for the same primary product.

  • CVE-2016-6662Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x…
    59Plan
  • CVE-2017-3599Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Pluggable Auth).
    57Plan
  • CVE-2009-4484Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in…
    51Plan

Published before and after this one in the same product

  • ← EarlierCVE-2012-3180Oct 16, 2012 · Unspecified vulnerability in the MySQL Server component in Oracle MySQL 5.1.65 and earlier, and 5.5.27 and earlier, allows remote…
    17Monitor
  • ← EarlierCVE-2012-3197Oct 16, 2012 · Unspecified vulnerability in the MySQL Server component in Oracle MySQL 5.1.64 and earlier, and 5.5.26 and earlier, allows remote…
    15Monitor
  • Later →CVE-2012-5614Dec 3, 2012 · Oracle MySQL 5.1.67 and earlier and 5.5.29 and earlier, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users…
    20Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:mysql-5.15.1.66-0+squeeze1 · Debian:6.0Package registry (OSV)
opensuse:mariadb10.0.22-3.8 · openSUSE:TumbleweedPackage registry (OSV)
red hat:mysql0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-bench0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-debuginfo0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-devel0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-embedded0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-embedded-devel0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-libs0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-server0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-test0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:lz41.8.0-3.5.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:mariadb-connector-c3.1.22-2.35.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:mariadb10410.4.30-150100.3.5.10 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSPackage registry (OSV)
suse:python-mysqlclient1.4.6-150100.3.3.7 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2012-12-02

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-1 d
  2. Published
  3. TodayNov 16, 2026+5096 d

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate.

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

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

nvd-primary

References

All records