CVE-2012-2122
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.
Official description from the CVE record, published by redhat. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.96619 (96.6% probability)
- Percentile
- 99.9%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
References
- bugs.mysql.com/bug.php?id=64884
- 53911 (securityfocus.com)vdb-entry
- 19092 (exploit-db.com)exploit
- 53372 (secunia.com)third-party-advisory
- GLSA-201308-06 (security.gentoo.org)vendor-advisory
- SUSE-SU-2012:0984 (lists.opensuse.org)vendor-advisory
- community.rapid7.com/community/metasploit/blog/2012/06/11/c…
- 1027143 (securitytracker.com)vdb-entry
- 49417 (secunia.com)third-party-advisory
- [oss-security] 20120609 Security vulnerability in MySQL/MariaDB sql/password.c (seclists.org)mailing-list
- kb.askmonty.org/en/mariadb-5162-release-notes
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:46 UTC. Sources and licenses