Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2012-2122

89
FAUCET Score

CVE-2012-2122 is an authentication bypass vulnerability affecting specific versions of Oracle MySQL and MariaDB. It allows remote attackers to gain unauthorized access by repeatedly attempting to authenticate with the same incorrect password, exploiting an improperly handled return value in the memcmp function. This vulnerability has a CVSS score of 5.1, indicating a network-based attack with high complexity but potential for partial confidentiality, integrity, and availability impact. While not on the KEV list, exploit code is publicly available via Metasploit and ExploitDB, and it has garnered significant community discussion and media coverage, suggesting a high likelihood of exploitation.

Impacted Technologies

VendorProductVersion(s)CPE
5.1.51CPE matchmatch criteria
cpe:2.3:a:oracle:mysql:5.1.51:*:*:*:*:*:*:*
5.1.52CPE matchmatch criteria
cpe:2.3:a:oracle:mysql:5.1.52:*:*:*:*:*:*:*
5.1.52CPE matchmatch criteria
cpe:2.3:a:oracle:mysql:5.1.52:sp1:*:*:*:*:*:*
5.1.53CPE matchmatch criteria
cpe:2.3:a:oracle:mysql:5.1.53:*:*:*:*:*:*:*
5.1.54CPE matchmatch criteria
cpe:2.3:a:oracle:mysql:5.1.54:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

5.1MEDIUM

AV:N/AC:H/Au:N/C:P/I:P/A:P

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
HIGH
Authentication
NONE
Exploitability Score
4.9
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
96.19%
Probability of exploitation in next 30 days
EPSS Percentile
99.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
Metasploit: MySQL Authentication Bypass Password Dump · Jun 9, 2012
Nuclei: CVE-2012-2122 · Mar 21, 2024
ExploitDB: EDB-19092 · Jun 12, 2012
This CVE's current EPSS score of 0.9619 is in the 100th percentile among its peer group of 19,955 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: mysql-0:5.1.66-1.el6_3
View patch
redhatno patchvia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: mysql

Vendor Advisories (1)

redhatCVE-2012-2122Important

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

Jun 9, 2012

References

bugs.mysql.com / bug.php
Exploit
kb.askmonty.org / en/mariadb-5162-release-notes
lists.opensuse.org / opensuse-security-announce/2012-08/msg00007.html
community.rapid7.com / community/metasploit/blog/2012/06/11/cve-2012-2122-a-tragically-comedic-security-flaw-in-mysql
Exploit
seclists.org / oss-sec/2012/q2/493
Patch
secunia.com / advisories/49417
Vendor Advisory
secunia.com / advisories/53372
security.gentoo.org / glsa/glsa-201308-06.xml
securitytracker.com / id
exploit-db.com / exploits/19092
securityfocus.com / bid/53911
Exploit