CVE-2012-2122: mariadb Improper Authentication
Vulnerability summary
CVE-2012-2122 is a medium (CVSS 5.1) Improper Authentication vulnerability in mariadb. EPSS estimates a 96.50% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 5 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 26-06-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x before 5.1.62, 5.2.x before 5.2.12, 5.3.x before 5.3.6, and 5.5.x before 5.5.23, when running in certain environments with certain implementations of the memcmp function, allows remote attackers to bypass authentication by repeatedly authenticating with the same incorrect password, which eventually causes a token comparison to succeed due to an improperly-checked return value.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
96.50%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 96.50% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
5 foundExploit Reference (bugs.mysql.com)
Maturity: unknown
Exploit Reference (securityfocus.com)
Maturity: unknown
Exploit Reference (community.rapid7.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Mariadb1 product
- mariadbEOL5.1.41 | 5.1.42 | 5.1.44 | 5.1.47 | 5.1.49 | 5.1.50 | 5.1.51 | 5.1.53 | 5.1.55 | 5.1.60 | 5.1.61 | 5.2.0 | 5.2.1 | 5.2.2 | 5.2.3 | 5.2.4 | 5.2.5 | 5.2.6 | 5.2.7 | 5.2.8 | 5.2.9 | 5.2.10 | 5.2.11 | 5.3.0 | 5.3.1 | 5.3.2 | 5.3.3 | 5.3.4 | 5.3.5 | 5.3.6 | 5.5.20 | 5.5.21 | 5.5.22
Oracle1 product
- mysqlEOL5.1.51 | 5.1.52 | 5.1.52:sp1 | 5.1.53 | 5.1.54 | 5.1.55 | 5.1.56 | 5.1.57 | 5.1.58 | 5.1.59 | 5.1.60 | 5.1.61 | 5.5.10 | 5.5.11 | 5.5.12 | 5.5.13 | 5.5.14 | 5.5.15 | 5.5.16 | 5.5.17 | 5.5.18 | 5.5.19 | 5.5.20 | 5.5.21 | 5.6.2 | 5.6.3 | 5.6.4 | 5.6.5
2 vendors · 2 products
References
11 linksShow all 11 references
- kb.askmonty.org/en/mariadb-5162-release-notes/X Refsource CONFIRM