CVE catalog

CVE-2012-2122

mysql-5.1 - several

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianmysql-5.16.05.1.49-3vulnerable
Debianmysql-5.16.05.1.50-1vulnerable
Debianmysql-5.16.05.1.51-1vulnerable
Debianmysql-5.16.05.1.53-1vulnerable
Debianmysql-5.16.05.1.54-1vulnerable
Debianmysql-5.16.05.1.54-2vulnerable
Debianmysql-5.16.05.1.55-1vulnerable
Debianmysql-5.16.05.1.56-1vulnerable
Debianmysql-5.16.05.1.57-1vulnerable
Debianmysql-5.16.05.1.57-1.1vulnerable
Debianmysql-5.16.05.1.57-1.2vulnerable
Debianmysql-5.16.05.1.57-1.3vulnerable
Debianmysql-5.16.05.1.57-2vulnerable
Debianmysql-5.16.05.1.57-3vulnerable
Debianmysql-5.16.05.1.57-3.1vulnerable
Debianmysql-5.16.05.1.58-1vulnerable
Debianmysql-5.16.05.1.61-0+squeeze1vulnerable
Debianmysql-5.16.05.1.61-2vulnerable
Debianmysql-5.16.05.1.61-3vulnerable
Debianmysql-5.16.05.1.62-1vulnerable
Debianmysql-5.16.05.1.62-1+m68kvulnerable
Debianmysql-5.16.05.1.63-0+squeeze1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmysql-5.1deb6.05.1.63-0+squeeze1Not reportedDSA-2496-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References