{"id":"CVE-2012-2122","aliases":["DSA-2496-1","EUVD-2012-2124","GHSA-4qx9-mwf7-7cx8","RHSA-2012:1462"],"status":"published","title":"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,...","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.","severity":{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.96619,"percentile":0.99883,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-287"],"published":"2012-06-18T00:00:00Z","modified":"2026-06-28T10:07:00Z","exploits":[{"source":"exploitdb","id":"EDB-19092","title":"MySQL - Authentication Bypass","type":"remote","platform":"multiple","date":"2012-06-12","verified":true,"url":"https://www.exploit-db.com/exploits/19092"},{"source":"pocgithub","id":"Avinza/CVE-2012-2122-scanner","title":"Avinza/CVE-2012-2122-scanner","date":"2013-05-09","url":"https://github.com/Avinza/CVE-2012-2122-scanner"},{"source":"pocgithub","id":"cyberharsh/Oracle-mysql-CVE-2012-2122","title":"cyberharsh/Oracle-mysql-CVE-2012-2122","date":"2020-06-24","url":"https://github.com/cyberharsh/Oracle-mysql-CVE-2012-2122"},{"source":"pocgithub","id":"zhangkaibin0921/CVE-2012-2122","title":"zhangkaibin0921/CVE-2012-2122","date":"2023-12-01","url":"https://github.com/zhangkaibin0921/CVE-2012-2122"},{"source":"pocgithub","id":"netw0rk7/CVE-2012-2122-Home-Lab","title":"netw0rk7/CVE-2012-2122-Home-Lab","date":"2025-11-24","url":"https://github.com/netw0rk7/CVE-2012-2122-Home-Lab"},{"source":"pocgithub","id":"CyberCTF/vulhub-mysql-cve-2012-2122","title":"CyberCTF/vulhub-mysql-cve-2012-2122","date":"2026-10-08","url":"https://github.com/CyberCTF/vulhub-mysql-cve-2012-2122"},{"source":"metasploit","id":"auxiliary/scanner/mysql/mysql_authbypass_hashdump","title":"MySQL Authentication Bypass Password Dump","type":"auxiliary","date":"2012-06-09","verified":true,"url":"https://www.rapid7.com/db/modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump"},{"source":"nuclei","id":"CVE-2012-2122","title":"MySQL - Authentication Bypass","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2012/CVE-2012-2122.yaml"}],"affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"mysql-5.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.63-0+squeeze1"}]}],"versions":["5.1.49-3","5.1.50-1","5.1.51-1","5.1.53-1","5.1.54-1","5.1.54-2","5.1.55-1","5.1.56-1","5.1.57-1","5.1.57-1.1","5.1.57-1.2","5.1.57-1.3","5.1.57-2","5.1.57-3","5.1.57-3.1","5.1.58-1","5.1.61-0+squeeze1","5.1.61-2","5.1.61-3","5.1.62-1","5.1.62-1+m68k"],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-embedded","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-embedded-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-embedded","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-embedded-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-embedded","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"mysql-embedded-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-embedded","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"mysql-embedded-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.66-1.el6_3"}]}],"bundled":18}],"products":[{"vendor":"mariadb","product":"mariadb"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://bugs.mysql.com/bug.php?id=64884","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/bid/53911","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"http://www.exploit-db.com/exploits/19092","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/53372","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-201308-06.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://community.rapid7.com/community/metasploit/blog/2012/06/11/cve-2012-2122-a-tragically-comedic-security-flaw-in-mysql","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://securitytracker.com/id?1027143","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://secunia.com/advisories/49417","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://seclists.org/oss-sec/2012/q2/493","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch"]},{"url":"http://kb.askmonty.org/en/mariadb-5162-release-notes/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2122","tags":["advisory"]},{"url":"http://kb.askmonty.org/en/mariadb-5162-release-notes"},{"url":"https://github.com/advisories/GHSA-4qx9-mwf7-7cx8"},{"url":"https://access.redhat.com/errata/RHSA-2012:1462","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"http://www.oracle.com/technetwork/topics/security/cpuapr2012-366314.html#AppendixMSQL","tags":["article"]},{"url":"http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html#AppendixMSQL","tags":["article"]},{"url":"http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html#AppendixMSQL","tags":["article"]},{"url":"http://dev.mysql.com/doc/refman/5.1/en/news-5-1-62.html","tags":["article"]},{"url":"http://dev.mysql.com/doc/refman/5.1/en/news-5-1-63.html","tags":["article"]},{"url":"http://dev.mysql.com/doc/refman/5.1/en/news-5-1-64.html","tags":["article"]},{"url":"http://dev.mysql.com/doc/refman/5.1/en/news-5-1-65.html","tags":["article"]},{"url":"http://dev.mysql.com/doc/refman/5.1/en/news-5-1-66.html","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=814285","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=814287","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=814293","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=833737","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841349","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841351","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841353","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867212","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867213","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867215","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867216","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867217","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867220","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867223","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867230","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867233","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867238","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1462.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-0540","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-0540","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0540","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-1688","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-1688","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1688","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-1689","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-1689","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1689","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-1690","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-1690","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1690","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-1703","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-1703","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1703","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-1734","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-1734","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1734","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-2122","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=814605","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2122","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-2749","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2749","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2749","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3150","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3150","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3150","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3158","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3158","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3158","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3160","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3160","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3160","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3163","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3163","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3163","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3166","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3166","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3166","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3167","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3167","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3167","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3173","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3173","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3173","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3177","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3177","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3177","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3180","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3180","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3180","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3197","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3197","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3197","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-2122","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.","status":"published","published":"2012-06-26T18:00:00Z","modified":"2024-08-06T19:26:07.691Z","updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-2124","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.","status":"published","published":"2012-06-26T18:00:00Z","modified":"2024-08-06T19:26:07Z","updated_at":"2026-11-03T01:56:15.412642Z"}],"ghsa":[{"id":"GHSA-4qx9-mwf7-7cx8","title":"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,...","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.","status":"published","published":"2022-05-17T04:52:32Z","modified":"2025-04-11T03:59:47Z","cwes":["CWE-287"],"updated_at":"2026-11-02T15:01:11.088321Z"}],"nvd":[{"id":"CVE-2012-2122","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.","status":"published","published":"2012-06-26T18:55:05.083Z","modified":"2026-06-16T23:41:02.11Z","cvss":[{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"DSA-2496-1","title":"mysql-5.1 - several","status":"published","published":"2012-06-18T00:00:00Z","modified":"2026-03-09T01:21:49.96614Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"RHSA-2012:1462","title":"Red Hat Security Advisory: mysql security update","status":"published","published":"2024-09-15T20:24:46Z","modified":"2026-06-28T10:07:00Z","updated_at":"2026-11-02T15:53:01.495018Z"}]}}
