CVE-2012-5612 json
Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allow…
published 2012-12-03 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5498
- cvss
- 6.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 21.0%
- EPSS 21.0% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code, as demonstrated using certain variations of the (1) USE, (2) SHOW TABLES, (3) DESCRIBE, (4) SHOW FIELDS FROM, (5) SHOW COLUMNS FROM, (6) SHOW INDEX FROM, (7) CREATE TABLE, (8) DROP TABLE, (9) ALTER TABLE, (10) DELETE FROM, (11) UPDATE, and (12) SET PASSWORD commands.
Patch / fix
- mariadb mariadb 5.1.67, 5.2.14, 5.3.12, 5.5.29
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
- python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1
- mariadb openSUSE Tumbleweed 10.0.22-3.8
opensuse advisories openSUSE-SU-2024:10153-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5612 updated cvss 6.5
mysql: MDL subsystem heap-based buffer overflow
-
Red Hat Enterprise Linux 5 mysql Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embeddednot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-23076)
- Published
Exploit prediction
21.00% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-23076 MySQL (Linux) - Heap Overrun (PoC) dos, 2012-12-02
- mariadb.atlassian.net https://mariadb.atlassian.net/browse/MDEV-3908 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2012/Dec/5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
mariadb.atlassian.net
/browse/MDEV-3908
broken-link, exploit, patch
-
exploit-db.com
/exploits/23076
exploit, third-party-advisory, vdb-entry
-
seclists.org
/fulldisclosure/2012/Dec/5
mailing-list, exploit, third-party-advisory
-
ubuntu.com
/usn/USN-1703-1
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:102
vendor-advisory, broken-link
-
security.gentoo.org
/glsa/glsa-201308-06.xml
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-02/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:150
vendor-advisory, broken-link
-
oracle.com
/technetwork/topics/security/cpujan2013-1515902.html
vendor-advisory
-
secunia.com
/advisories/53372
third-party-advisory, not-applicable
-
openwall.com
/lists/oss-security/2012/12/02/3
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2012/12/02/4
mailing-list, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16960
vdb-entry, signature, third-party-advisory
Sources
- CVE List CVE-2012-5612
- NVD CVE-2012-5612
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.