SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2012-2122

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…

EXPLOIT ✓MEDIUM 5.1EPSS 96.6%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 96.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.

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 2.0
5.1 MEDIUMAV:N/AC:H/Au:N/C:P/I:P/A:P
EPSS
96.62% probability · 100th percentile
Public exploits
1 in Exploit-DB · verified · first 12 June 2012
CISA KEV
Not listed
Weakness
CWE-287
Affected
oracle/mysql · mariadb/mariadb
Source
secalert@redhat.com
EPSS trend
0%50%100%4 November 2026: 96.62%4 November 20264 November 2026

EPSS 96.6% since 4 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-19092source ↗MySQL - Authentication Bypassmultiple · David Kennedy (ReL1K)remote12 June 2012yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.