{"cve":"CVE-2012-2122","nvd":{"published":"2012-06-26T18:55:05.083","modified":"2026-06-16T23:41:02.110","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-287"],"references":["http://bugs.mysql.com/bug.php?id=64884","http://kb.askmonty.org/en/mariadb-5162-release-notes/","http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00007.html","http://seclists.org/oss-sec/2012/q2/493","http://secunia.com/advisories/49417"],"products":["mariadb:mariadb","oracle:mysql"],"source":"nvd","synced_at":"2026-10-19T20:24:00.973572543+00:00"},"epss":{"cve":"CVE-2012-2122","score":0.96619,"percentile":0.99883,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}