CVE-2012-2122

NONECVSS 0.09.0
EchelonGraph scoreLOW confidence

Score elevated to 9.0 because EPSS predicts 94% probability of exploitation within the next 30 days (top 0.1% of all CVEs). Confidence: see factors.

Triggered by: EPSS exploit prediction ≥85%
Sources: epss
Weaponized
0.0
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 96%
CISA-KEV: Not listedEPSS: 96%CVSS: Exploit: NoneExposed: 0

A fix is available — apply it.

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.

CVSS v3
EG Score
9.0(low)
EPSS
99.9%
KEV
Not listed

Published

June 26, 2012

Last Modified

April 29, 2026

Vendor Advisories for CVE-2012-2122(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(2)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntumysql-server-5.1 (5.1.63-0ubuntu0.11.04.1) @ natty2026-05-29ubuntu
redhatmysql-0:5.1.66-1.el6_32012-11-14redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(1)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 0× in last 7d / 8× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-06-23 21:30 UTCEPSS rescore
  2. 2026-06-22 14:22 UTCEPSS rescore
  3. 2026-06-22 14:22 UTCEPSS rescore
  4. 2026-06-19 19:22 UTCEPSS rescore
  5. 2026-06-19 19:22 UTCEPSS rescore
  6. 2026-06-16 17:49 UTCEPSS rescore
  7. 2026-06-16 17:49 UTCEPSS rescore
  8. 2026-06-15 17:44 UTCEPSS rescore
  9. 2026-06-04 13:09 UTCEPSS rescore
  10. 2026-05-31 00:14 UTCEPSS rescore
  11. 2026-05-31 00:14 UTCEPSS rescore
  12. 2026-05-29 04:11 UTCEG score recompute
  13. 2026-05-29 04:11 UTCVendor advisory
  14. 2026-05-29 04:11 UTCGHSA enrichment
  15. 2026-05-26 07:16 UTCEPSS rescore
  16. 2026-05-26 07:16 UTCEPSS rescore
  17. 2026-05-26 07:16 UTCEPSS rescore
  18. 2026-05-22 21:15 UTCEPSS rescore
  19. 2026-05-22 21:15 UTCEPSS rescore
  20. 2026-05-22 21:15 UTCEPSS rescore
  21. 2026-05-21 22:39 UTCEPSS rescore
  22. 2026-05-18 21:29 UTCEPSS rescore
  23. 2026-05-18 21:29 UTCEPSS rescore

Publicly available exploits

(3 references)

Working exploit code is in the public domain (1 Metasploit module) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-19092✓ verified
    First seen Jun 12, 2012

    MySQL - Authentication Bypass

    Open source ↗
  • Metasploitauxiliary/scanner/mysql/mysql_authbypass_hashdump✓ verified
    First seen Jun 9, 2012

    MySQL Authentication Bypass Password Dump

    Open source ↗
  • Nucleijavascript/cves/2012/CVE-2012-2122.yaml
    First seen Jan 1, 2012

    MySQL - Authentication Bypass

    Open source ↗

Frequently asked(4)

What is CVE-2012-2122?
CVE-2012-2122 is a none vulnerability published on June 26, 2012. 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…
When was CVE-2012-2122 disclosed?
CVE-2012-2122 was first published in the National Vulnerability Database on June 26, 2012, with the most recent update on April 29, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2012-2122 actively exploited?
CVE-2012-2122 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 99.9% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
How do I remediate CVE-2012-2122?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2012-2122, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2012-2122

Explore →

Is Your Infrastructure Affected by CVE-2012-2122?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.