Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | 5.1.0 to before 5.1.67; 5.2.0 to before 5.2.14; 5.3.0 to before 5.3.12; 5.5.0 to before 5.5.29 | Vulnerable | MariaDB |
| cpe:2.3:a:mariadb:mariadb:10.0.0:*:*:*:*:*:*:* | 10.0.0 | Vulnerable | MariaDB |
| cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* | 5.5.0 – 5.5.28 | Vulnerable | Oracle |
| cpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* | 11.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* Versions 5.1.0 to before 5.1.67; 5.2.0 to before 5.2.14; 5.3.0 to before 5.3.12; 5.5.0 to before 5.5.29 Vulnerable ·MariaDB
- cpe:2.3:a:mariadb:mariadb:10.0.0:*:*:*:*:*:*:* Versions 10.0.0 Vulnerable ·MariaDB
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* Versions 5.5.0 – 5.5.28 Vulnerable ·Oracle
- cpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* Versions 11.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2012-5612
- 2026-10-03 Alias added: GHSA-j274-98hw-37wv
References
Exploit 3
Advisory 9
- USN-1703-1
- MDVSA-2013:102
- http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
- [oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday
- GLSA-201308-06
- [oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday
- SUSE-SU-2013:0262
- oval:org.mitre.oval:def:16960
- MDVSA-2013:150
Sources
- CVE-2012-5612 · CVE Program
- CVE-2012-5612 · NVD
- FIRST EPSS
- GHSA-j274-98hw-37wv · GitHub Advisory Database · CC BY 4.0
- CVE-2012-5612 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences