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…
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
- CWE
- CWE-119
Report tools
Action score
33
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.
Is MySQL on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi 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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| oracle | mysql | cpe:2.3:a:oracle:mysql |
| mariadb | mariadb | cpe:2.3:a:mariadb:mariadb |
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
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 scanAffected 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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:6.0 | mysql-5.1 | before 5.1.66-0+squeeze1 | 5.1.66-0+squeeze1 |
| openSUSE:Tumbleweed | mariadb | before 10.0.22-3.8 | 10.0.22-3.8 |
| Red Hat:enterprise_linux:5::server | mysql | before 0:5.0.95-5.el5_9 | 0:5.0.95-5.el5_9 |
| Red Hat:enterprise_linux:5::server | mysql-bench | before 0:5.0.95-5.el5_9 | 0:5.0.95-5.el5_9 |
| Red Hat:enterprise_linux:5::server | mysql-debuginfo | before 0:5.0.95-5.el5_9 | 0:5.0.95-5.el5_9 |
| Red Hat:enterprise_linux:5::server | mysql-devel | before 0:5.0.95-5.el5_9 | 0:5.0.95-5.el5_9 |
| Red Hat:enterprise_linux:5::server | mysql-server | before 0:5.0.95-5.el5_9 | 0:5.0.95-5.el5_9 |
| Red Hat:enterprise_linux:5::server | mysql-test | before 0:5.0.95-5.el5_9 | 0:5.0.95-5.el5_9 |
| Red Hat:enterprise_linux:6::client | mysql | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-bench | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-debuginfo | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-devel | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-embedded | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-embedded-devel | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-libs | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-server | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| Red Hat:enterprise_linux:6::client | mysql-test | before 0:5.1.66-2.el6_3 | 0:5.1.66-2.el6_3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | mariadb104 | before 10.4.30-150100.3.5.10 | 10.4.30-150100.3.5.10 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | python-mysqlclient | before 1.4.6-150100.3.3.7 | 1.4.6-150100.3.3.7 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | lz4 | before 1.8.0-3.5.2 | 1.8.0-3.5.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | mariadb-connector-c | before 3.1.22-2.35.1 | 3.1.22-2.35.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | mariadb104 | before 10.4.30-8.5.46 | 10.4.30-8.5.46 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | python-mysqlclient | before 1.3.14-8.9.2 | 1.3.14-8.9.2 |
Same product
oracle: all recordsOther 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 / package | Fixed version | Source |
|---|---|---|
| debian:mysql-5.1 | 5.1.66-0+squeeze1 · Debian:6.0 | Package registry (OSV) |
| opensuse:mariadb | 10.0.22-3.8 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:mysql | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-bench | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-debuginfo | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-devel | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-embedded | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-embedded-devel | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-libs | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-server | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mysql-test | 0:5.1.66-2.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:lz4 | 1.8.0-3.5.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:mariadb-connector-c | 3.1.22-2.35.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:mariadb104 | 10.4.30-150100.3.5.10 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package registry (OSV) |
| suse:python-mysqlclient | 1.4.6-150100.3.3.7 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package 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.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2012-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.
- First PoC-1 d
- Published
- 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
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- lists.opensuse.org/opensuse-security-announce/2013-01/msg00001.html
- lists.opensuse.org/opensuse-security-announce/2013-01/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2013-01/msg00013.html
- lists.opensuse.org/opensuse-security-announce/2013-01/msg00020.html
- lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html
- lists.opensuse.org/opensuse-updates/2013-09/msg00010.html
- rhn.redhat.com/errata/RHSA-2012-1551.html
- rhn.redhat.com/errata/RHSA-2013-0180.html
- seclists.org/fulldisclosure/2012/Dec/4
- secunia.com/advisories/51443
- secunia.com/advisories/53372
- security.gentoo.org/glsa/glsa-201308-06.xml
- www.debian.org/security/2012/dsa-2581
- www.mandriva.com/security/advisories?name=MDVSA-2013:102
- www.mandriva.com/security/advisories?name=MDVSA-2013:150
- www.openwall.com/lists/oss-security/2012/12/02/3
- www.openwall.com/lists/oss-security/2012/12/02/4
- www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
- www.ubuntu.com/usn/USN-1658-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.