Vulnerabilities

Vulnerability · CVE-2009-4028

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…

Published Nov 30, 2009 · catalog updated Jun 16, 2026 · Oracle

Check if you run it

No confirmed exploitation is on record for CVE-2009-4028. EPSS is 1.77%. Act only if a listed version of Oracle is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
1.77%
Remediation
Version ranges on file
Affected products
cpe mysql/mysql

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe mysql/mysql5.0.0
  • cpe mysql/mysql5.0.1
  • cpe mysql/mysql5.0.10
  • cpe mysql/mysql5.0.15
  • cpe mysql/mysql5.0.16
  • cpe mysql/mysql5.0.17
  • cpe mysql/mysql5.0.2
  • cpe mysql/mysql5.0.3
  • cpe mysql/mysql5.0.4
  • cpe mysql/mysql5.0.5
  • cpe mysql/mysql5.0.5.0.21
  • cpe mysql/mysql<= 5.0.87

How to fix CVE-2009-4028

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2009-4028. EPSS is 1.77%. Act only if a listed version of Oracle is installed.

Which versions are affected?

Compare what you have installed with 5.0.0, 5.0.1, 5.0.10, 5.0.15, 5.0.16, 5.0.17. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-20: Improper Input Validation. EPSS 1.77%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Nov 30, 2009 · Oracle Critical Patch Updates

    Detected

    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.

  2. Jun 16, 2026 · Oracle Critical Patch Updates

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2009-4028

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2009-4028

    30-day exploitation probability 1.77%

    first.org
  • Oracle Critical Patch UpdatesVendor advisoryCVE-2009-4028

    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.nist.gov

References

Freshness

Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

CVE-2009-4028: The vio_verify_callback function in viosslfactories.… · ZeroDay Findings