Every CVE Search/ Get API key

CVE-2009-4028

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x...

6.8 Medium

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

Exploit likelihood

1.77%Up 0.2 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

Record
CVE-2009-4028
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

Record
CVE-2009-4028
Updated
2026-11-02
EUVDEUVD-2009-3999 No score

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

Record
EUVD-2009-3999
Updated
2026-11-03
GitHub AdvisoriesGHSA-7mf2-7qv8-9w8f No score

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x...

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

Record
GHSA-7mf2-7qv8-9w8f
Weakness
CWE-20
Updated
2026-11-02
OSVopenSUSE-SU-2024:10153-1 No score

libmysqlclient-devel-10.0.22-3.8 on GA media

These are all security issues fixed in the libmysqlclient-devel-10.0.22-3.8 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10153-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10200-1 No score

libmysql56client18-32bit-5.6.34-1.1 on GA media

These are all security issues fixed in the libmysql56client18-32bit-5.6.34-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10200-1
Updated
2026-11-02
OSVSUSE-RU-2023:3956-1 No score

Recommended update for mariadb104

This update for mariadb104 fixes the following issues:

  • Implement version 10.4 of MariaDB (jsc#PED-2455):
    • It is possible to use more than one authentication plugin for each user account.
    • The root user account is being created with the ability to use two authentication plugins.
    • All user accounts, passwords, and global privileges are now stored in the mysql.global_priv table.
    • Is being supported for User Password Expiry, which is not active by default.
    • Faster privilege checks for MariaDB setups with many user accounts or many database grants.
  • Update mysql-systemd-helper to be aware of custom group (bsc#1200105)
  • MariaDB is now support lz4 compression for 'INNODB'. (bsc#1186031)
  • Add 'mysql-user.conf' file to enable systemd generating mysql user in containers. (bsc#1173028)
  • Fixes an issue when MariaDB is ignoring the value of the parameter 'open_files_limit' in the global variables. (bsc#1180014)
Record
SUSE-RU-2023:3956-1
Updated
2026-11-02
OSVSUSE-RU-2023:4991-1 No score

Recommended update for mariadb104

This update for mariadb104 fixes the following issues:

  • Implement version 10.4 of MariaDB (jsc#PED-2455):
    • It is possible to use more than one authentication plugin for each user account.
    • The root user account is being created with the ability to use two authentication plugins.
    • All user accounts, passwords, and global privileges are now stored in the mysql.global_priv table.
    • Is being supported for User Password Expiry, which is not active by default.
    • Faster privilege checks for MariaDB setups with many user accounts or many database grants.
  • Update mysql-systemd-helper to be aware of custom group (bsc#1200105)
  • MariaDB is now support lz4 compression for 'INNODB'. (bsc#1186031)
  • Add 'mysql-user.conf' file to enable systemd generating mysql user in containers. (bsc#1173028)
  • Fixes an issue when MariaDB is ignoring the value of the parameter 'open_files_limit' in the global variables. (bsc#1180014)
Record
SUSE-RU-2023:4991-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mysql
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-bench
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-devel
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-server
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-test
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql
Red Hat:enterprise_linux:5::client
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql
Red Hat:enterprise_linux:5::server
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-bench
Red Hat:enterprise_linux:5::server
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
Show 23 moreShow less
Affected packages
PackageAffectedFixed
mysql-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-server
Red Hat:enterprise_linux:5::server
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mysql-test
Red Hat:enterprise_linux:5::server
From an advisory covering 3 CVEs
before 0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
mariadb104
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 221 CVEs
before 10.4.30-150100.3.5.10
10.4.30-150100.3.5.10
python-mysqlclient
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 221 CVEs
before 1.4.6-150100.3.3.7
1.4.6-150100.3.3.7
mariadb104
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 221 CVEs
before 10.4.30-150100.3.5.10
10.4.30-150100.3.5.10
python-mysqlclient
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 221 CVEs
before 1.4.6-150100.3.3.7
1.4.6-150100.3.3.7
mariadb104
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 221 CVEs
before 10.4.30-150100.3.5.10
10.4.30-150100.3.5.10
python-mysqlclient
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 221 CVEs
before 1.4.6-150100.3.3.7
1.4.6-150100.3.3.7
lz4
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 221 CVEs
before 1.8.0-3.5.2
1.8.0-3.5.2
mariadb-connector-c
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 221 CVEs
before 3.1.22-2.35.1
3.1.22-2.35.1
mariadb104
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 221 CVEs
before 10.4.30-8.5.46
10.4.30-8.5.46
python-mysqlclient
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 221 CVEs
before 1.3.14-8.9.2
1.3.14-8.9.2
lz4
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 221 CVEs
before 1.8.0-3.5.2
1.8.0-3.5.2
mariadb-connector-c
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 221 CVEs
before 3.1.22-2.35.1
3.1.22-2.35.1
mariadb104
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 221 CVEs
before 10.4.30-8.5.46
10.4.30-8.5.46
python-mysqlclient
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 221 CVEs
before 1.3.14-8.9.2
1.3.14-8.9.2
lz4
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 221 CVEs
before 1.8.0-3.5.2
1.8.0-3.5.2
mariadb-connector-c
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 221 CVEs
before 3.1.22-2.35.1
3.1.22-2.35.1
mariadb104
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 221 CVEs
before 10.4.30-8.5.46
10.4.30-8.5.46
python-mysqlclient
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 221 CVEs
before 1.3.14-8.9.2
1.3.14-8.9.2
mariadb
openSUSE:Tumbleweed
From an advisory covering 23 CVEs
before 10.0.22-3.8
10.0.22-3.8

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2009-4028 is a medium vulnerability (CVSS 6.8) in Mysql, published November 30, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.77%, the 78th percentile. No source names a fixed version.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 314 references. The JSON record has them.

MoveEnter Open