Access of Resource Using Incompatible Type ('Type Confusion') Affecting mysql package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
96.62% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-MYSQL-22210853
  • published5 Nov 2026
  • disclosed9 Jun 2012

Introduced: 9 Jun 2012

CVE-2012-2122  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 mysql.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql package and not the mysql package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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 Base Scores

version 3.1