What’s Vulnerable › Vulnerabilities
CVE-2012-5627
- Severity: medium (CVSS 4.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2013-10-01 · updated 2026-06-16
- Weakness: CWE-522
Description
Oracle MySQL and MariaDB 5.5.x before 5.5.29, 5.3.x before 5.3.12, and 5.2.x before 5.2.14 does not modify the salt during multiple executions of the change_user command within the same connection which makes it easier for remote authenticated users to conduct brute force password guessing attacks.
Affected products
- MariaDB: from 5.2.0 before 5.2.14; from 5.3.0 before 5.3.12; from 5.5.0 before 5.5.29; 10.0.0 — fixed in 5.2.14, 5.3.12, 5.5.29
- MySQL Server: from 5.5.0 before 5.5.29 — fixed in 5.5.29
How to fix
Upgrade to a fixed version: MariaDB 5.2.14, 5.3.12, 5.5.29; MySQL Server 5.5.29. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2012/Dec/58
- http://seclists.org/fulldisclosure/2012/Dec/83
- http://seclists.org/oss-sec/2012/q4/424
- http://secunia.com/advisories/53372
- http://security.gentoo.org/glsa/glsa-201308-06.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:102
- https://bugzilla.redhat.com/show_bug.cgi?id=883719
- https://mariadb.atlassian.net/browse/MDEV-3915
- http://seclists.org/fulldisclosure/2012/Dec/58
- http://seclists.org/fulldisclosure/2012/Dec/83
- http://seclists.org/oss-sec/2012/q4/424
- http://secunia.com/advisories/53372
Get alerted when CVE-2012-5627 or the next vulnerability affects your stack