{"cve":"CVE-2009-4028","nvd":{"published":"2009-11-30T17:30:00.327","modified":"2026-06-16T23:12:51.953","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"references":["http://bugs.mysql.com/47320","http://dev.mysql.com/doc/refman/5.0/en/news-5-0-88.html","http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html","http://lists.mysql.com/commits/87446","http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html"],"products":["mysql:mysql","oracle:mysql"],"source":"nvd","synced_at":"2026-10-19T19:54:26.868835795+00:00"},"epss":{"cve":"CVE-2009-4028","score":0.01766,"percentile":0.78069,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}