Skip to main content
Network Thinking Solutions Logo

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

All CVEs
CVE-2009-4028Published 11/30/2009

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.

Vendor advisory
CVSS6.8Medium

Overview

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.

Published
11/30/2009
Last modified
6/16/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
mysql
mysql
≤ 5.0.87

Verify advisory

Source
mysql
mysql
5.0.0

Verify advisory

Source
mysql
mysql
5.0.1

Verify advisory

Source
mysql
mysql
5.0.2

Verify advisory

Source
mysql
mysql
5.0.3

Verify advisory

Source
mysql
mysql
5.0.4

Verify advisory

Source
mysql
mysql
5.0.5

Verify advisory

Source
mysql
mysql
5.0.5.0.21

Verify advisory

Source
mysql
mysql
5.0.10

Verify advisory

Source
mysql
mysql
5.0.15

Verify advisory

Source
mysql
mysql
5.0.16

Verify advisory

Source
mysql
mysql
5.0.17

Verify advisory

Source
mysql
mysql
5.0.20

Verify advisory

Source
mysql
mysql
5.0.22.1.0.1

Verify advisory

Source
mysql
mysql
5.0.24

Verify advisory

Source
mysql
mysql
5.0.30

Verify advisory

Source
mysql
mysql
5.0.36

Verify advisory

Source
mysql
mysql
5.0.44

Verify advisory

Source
mysql
mysql
5.0.54

Verify advisory

Source
mysql
mysql
5.0.56

Verify advisory

Source
mysql
mysql
5.0.60

Verify advisory

Source
mysql
mysql
5.0.66

Verify advisory

Source
mysql
mysql
5.0.82

Verify advisory

Source
mysql
mysql
5.0.84

Verify advisory

Source
mysql
mysql
5.1.5

Verify advisory

Source
mysql
mysql
5.1.23

Verify advisory

Source
mysql
mysql
5.1.31

Verify advisory

Source
mysql
mysql
5.1.32

Verify advisory

Source
mysql
mysql
5.1.34

Verify advisory

Source
mysql
mysql
5.1.37

Verify advisory

Source
mysql
oracle
5.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.0.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.0.6

Verify advisory

Source
mysql
oracle
5.0.7

Verify advisory

Source
mysql
oracle
5.0.8

Verify advisory

Source
mysql
oracle
5.0.11

Verify advisory

Source
mysql
oracle
5.0.12

Verify advisory

Source
mysql
oracle
5.0.13

Verify advisory

Source
mysql
oracle
5.0.14

Verify advisory

Source
mysql
oracle
5.0.18

Verify advisory

Source
mysql
oracle
5.0.19

Verify advisory

Source
mysql
oracle
5.0.21

Verify advisory

Source
mysql
oracle
5.0.22

Verify advisory

Source
mysql
oracle
5.0.23

Verify advisory

Source
mysql
oracle
5.0.25

Verify advisory

Source
mysql
oracle
5.0.26

Verify advisory

Source
mysql
oracle
5.0.27

Verify advisory

Source
mysql
oracle
5.0.30

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.0.32

Verify advisory

Source
mysql
oracle
5.0.33

Verify advisory

Source
mysql
oracle
5.0.37

Verify advisory

Source
mysql
oracle
5.0.38

Verify advisory

Source
mysql
oracle
5.0.41

Verify advisory

Source
mysql
oracle
5.0.42

Verify advisory

Source
mysql
oracle
5.0.45

Verify advisory

Source
mysql
oracle
5.0.50

Verify advisory

Source
mysql
oracle
5.0.51

Verify advisory

Source
mysql
oracle
5.0.52

Verify advisory

Source
mysql
oracle
5.0.75

Verify advisory

Source
mysql
oracle
5.0.77

Verify advisory

Source
mysql
oracle
5.0.81

Verify advisory

Source
mysql
oracle
5.0.83

Verify advisory

Source
mysql
oracle
5.0.85

Verify advisory

Source
mysql
oracle
5.0.86

Verify advisory

Source
mysql
oracle
5.1

Verify advisory

Source
mysql
oracle
5.1.1

Verify advisory

Source
mysql
oracle
5.1.2

Verify advisory

Source
mysql
oracle
5.1.3

Verify advisory

Source
mysql
oracle
5.1.4

Verify advisory

Source
mysql
oracle
5.1.6

Verify advisory

Source
mysql
oracle
5.1.7

Verify advisory

Source
mysql
oracle
5.1.8

Verify advisory

Source
mysql
oracle
5.1.9

Verify advisory

Source
mysql
oracle
5.1.10

Verify advisory

Source
mysql
oracle
5.1.11

Verify advisory

Source
mysql
oracle
5.1.12

Verify advisory

Source
mysql
oracle
5.1.13

Verify advisory

Source
mysql
oracle
5.1.14

Verify advisory

Source
mysql
oracle
5.1.15

Verify advisory

Source
mysql
oracle
5.1.16

Verify advisory

Source
mysql
oracle
5.1.17

Verify advisory

Source
mysql
oracle
5.1.18

Verify advisory

Source
mysql
oracle
5.1.19

Verify advisory

Source
mysql
oracle
5.1.20

Verify advisory

Source
mysql
oracle
5.1.21

Verify advisory

Source
mysql
oracle
5.1.22

Verify advisory

Source
mysql
oracle
5.1.23

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.1.24

Verify advisory

Source
mysql
oracle
5.1.25

Verify advisory

Source
mysql
oracle
5.1.26

Verify advisory

Source
mysql
oracle
5.1.27

Verify advisory

Source
mysql
oracle
5.1.28

Verify advisory

Source
mysql
oracle
5.1.29

Verify advisory

Source
mysql
oracle
5.1.30

Verify advisory

Source
mysql
oracle
5.1.31

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.1.33

Verify advisory

Source
mysql
oracle
5.1.34

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.1.35

Verify advisory

Source
mysql
oracle
5.1.36

Verify advisory

Source
mysql
oracle
5.1.37

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
mysql
oracle
5.1.38

Verify advisory

Source
mysql
oracle
5.1.39

Verify advisory

Source
mysql
oracle
5.1.40

Verify advisory

Source
mysql
oracle
5.1.40

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.