Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2012-2122

published

mysql: incorrect type cast in check_scramble() leading to authentication bypass

Title from Red Hat VEX

Published
26 Jun 2012, 18:00:00 UTC
Updated
06 Aug 2024, 19:26:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated redhat
Debian squeeze mysql-5.1 Advisory build 5.1.63-0+squeeze1 DSA-2496-1
Red Hat Enterprise Linux RHEL-6 mysqli686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysqlppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysqls390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysqlsrc Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysqlx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-benchi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Show 41 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-6 mysql-benchppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-benchs390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-benchx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-debuginfoi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-debuginfoppc Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-debuginfoppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-debuginfos390 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-debuginfos390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-debuginfox86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-develi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-develppc Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-develppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-devels390 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-devels390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-develx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embeddedi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embeddedppc Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embeddedppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embeddeds390 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embeddeds390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embeddedx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embedded-develi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embedded-develppc Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embedded-develppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embedded-devels390 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embedded-devels390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-embedded-develx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-libsi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-libsppc Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-libsppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-libss390 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-libss390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-libsx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-serveri686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-serverppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-servers390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-serverx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-testi686 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-testppc64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-tests390x Advisory build 5.1.66-1.el6_3 RHSA-2012:1462
Red Hat Enterprise Linux RHEL-6 mysql-testx86_64 Advisory build 5.1.66-1.el6_3 RHSA-2012:1462

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) redhat · cna

Weaknesses

1
  • n/a (redhat · cna)

References

11

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ba1fd42d023e043088b315832aef6bedd2b5cc1157662ffa651151d80b907b7e
Ingested
23 Sep 2026, 07:39:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected