CVE-2009-4028

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.766%
chance of exploitation in the next 30 days
higher than 78.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2009-11-30Published by the CNA17:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
mysql mysql5.0.0no fix listed5.0.1no fix listed5.0.10no fix listed5.0.15no fix listed5.0.16no fix listed(+25 more)not listednot listednot listednot listednot listed
oracle mysql5.0.0no fix listed5.0.11no fix listed5.0.12no fix listed5.0.13no fix listed5.0.14no fix listed(+68 more)not listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources