
CVE catalog
CVE-2012-2122
mysql-5.1 - several
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 96.50% · Oct 27, 2026
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. mysql: incorrect type cast in check_scramble() leading to authentication bypass This issue does not affect MySQL as shipped with Red Hat Enterprise Linux 4, 5, or 6. For a technical explanation please see https://bugzilla.redhat.com/show_bug.cgi?id=814605#c19 The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mysql-5.1 | 6.0 | 5.1.49-3 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.50-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.51-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.53-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.54-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.54-2 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.55-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.56-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-1.1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-1.2 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-1.3 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-2 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-3 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.57-3.1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.58-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.61-0+squeeze1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.61-2 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.61-3 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.62-1 | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.62-1+m68k | vulnerable |
| Debian | mysql-5.1 | 6.0 | 5.1.63-0+squeeze1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mysql-5.1 | deb | 6.0 | 5.1.63-0+squeeze1 | Not reported | DSA-2496-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed: