CVE-2012-5627 json
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 executi…
published 2013-10-01 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5512
- cvss
- 4.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 11.4%
- EPSS 11.4% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- oracle mysql 5.5.29
- mariadb mariadb 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-5627 updated cvss 2.6
mysql: efficient password guessing attack using change_user()
-
Red Hat Enterprise Linux 5 mysql Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embeddedaffected: no fix planned “Will not fix”
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-38109)
- Published
Exploit prediction
11.41% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-38109 Oracle MySQL / MariaDB - Insecure Salt Generation Security Bypass remote, 2012-12-06
- seclists.org http://seclists.org/fulldisclosure/2012/Dec/58 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2012/Dec/83 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-522 Insufficiently Protected Credentials
- Technology feeds
References
-
security.gentoo.org
/glsa/glsa-201308-06.xml
vendor-advisory, patch, third-party-advisory, vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=883719
issue-tracking, patch, third-party-advisory
-
seclists.org
/fulldisclosure/2012/Dec/58
mailing-list, exploit, third-party-advisory
-
seclists.org
/fulldisclosure/2012/Dec/83
mailing-list, exploit, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:102
vendor-advisory, broken-link
-
mariadb.atlassian.net
/browse/MDEV-3915
broken-link, vendor-advisory
-
seclists.org
/oss-sec/2012/q4/424
mailing-list, third-party-advisory
-
secunia.com
/advisories/53372
third-party-advisory, not-applicable
Sources
- CVE List CVE-2012-5627
- NVD CVE-2012-5627
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.