CVE-2012-5612
MEDIUM 6.5CVSS 2.0Heap-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.
- Published
- 3 Dec 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-787
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 5.1.0, < 5.1.67 | 5.1.67 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.2.14 | 5.2.14 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.12 | 5.3.12 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 5.5.0, < 5.5.29 | 5.5.29 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:10.0.0:*:*:*:*:*:*:* |
= 10.0.0 | |
| NVD | oracle | mysqlcpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* |
>= 5.5.0, <= 5.5.28 | |
| NVD | suse | linux_enterprise_desktopcpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:* |
= 11 | |
| NVD | suse | linux_enterprise_servercpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* |
= 11 | |
| NVD | suse | linux_enterprise_servercpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:* |
= 11 | |
| NVD | suse | linux_enterprise_software_development_kitcpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* |
= 11 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* |
= 11.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* |
= 12.10 |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html · Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2012/Dec/5 · Exploit, Mailing List, Third Party Advisory
- http://secunia.com/advisories/53372 · Not Applicable
- http://security.gentoo.org/glsa/glsa-201308-06.xml · Third Party Advisory
- http://www.exploit-db.com/exploits/23076 · Exploit, Third Party Advisory, VDB Entry
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:102 · Broken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 · Broken Link
- http://www.openwall.com/lists/oss-security/2012/12/02/3 · Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2012/12/02/4 · Mailing List, Third Party Advisory
- http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html · Vendor Advisory
- http://www.ubuntu.com/usn/USN-1703-1 · Third Party Advisory
- https://mariadb.atlassian.net/browse/MDEV-3908 · Broken Link, Exploit, Patch
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16960 · Third Party Advisory
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 3 Dec 2012)