HOMEVULNERABILITIESCVE-2009-4028
MEDIUM

CVE-2009-4028

CWE-20Published: November 30, 2009· Updated: Jun 16, 2026

6.8
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2009-4028 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected Vendors & Products

mysql1 product(s)
mysql
Oracle1 product(s)
mysql
Source: NVD CPE · 103 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (24)

Quick Facts

CVE IDCVE-2009-4028
CVSS Score6.8 / 10
SeverityMEDIUM
WeaknessCWE-20
CISA KEVNo
Affected2 vendor(s)
PublishedNov 30, 2009

Related CVEs (CWE-20)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2009-4028 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.