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…
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.7% (FIRST EPSS); higher than 78.4% of all records.
- Fixed version: mariadb (openSUSE:Tumbleweed) 10.0.22-3.8; mysql (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.77-4.el5_4.2; mysql-bench (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.77-4.el5_4.2.
Low priority for now. Upgrade to mariadb (openSUSE:Tumbleweed) 10.0.22-3.8; mysql (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.77-4.el5_4.2; mysql-bench (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.77-4.el5_4.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Nov 30, 2009
- Updated
- Jun 16, 2026
- EPSS
- 1.7% · 78th percentile
- CWE
- CWE-20
Report tools
Action score
28
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is MySQL on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
Is MySQL on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mysql mysqlup to 5.0.87 inclusive
- mysql mysql5.0.0
- mysql mysql5.0.1
- mysql mysql5.0.10
- mysql mysql5.0.15
- mysql mysql5.0.16
- mysql mysql5.0.17
- mysql mysql5.0.2
+12 more rows
- mysql mysql5.0.20
- mysql mysql5.0.22.1.0.1
- mysql mysql5.0.24
- mysql mysql5.0.3
- mysql mysql5.0.30
- mysql mysql5.0.36
- mysql mysql5.0.4
- mysql mysql5.0.44
- mysql mysql5.0.5
- mysql mysql5.0.5.0.21
- mysql mysql5.0.54
- mysql mysql5.0.56
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| openSUSE:Tumbleweed | mariadb | before 10.0.22-3.8 | 10.0.22-3.8 |
| Red Hat:enterprise_linux:5::client_workstation | mysql | before 0:5.0.77-4.el5_4.2 | 0:5.0.77-4.el5_4.2 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-bench | before 0:5.0.77-4.el5_4.2 | 0:5.0.77-4.el5_4.2 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-debuginfo | before 0:5.0.77-4.el5_4.2 | 0:5.0.77-4.el5_4.2 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-devel | before 0:5.0.77-4.el5_4.2 | 0:5.0.77-4.el5_4.2 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-server | before 0:5.0.77-4.el5_4.2 | 0:5.0.77-4.el5_4.2 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-test | before 0:5.0.77-4.el5_4.2 | 0:5.0.77-4.el5_4.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | mariadb104 | before 10.4.30-150100.3.5.10 | 10.4.30-150100.3.5.10 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | python-mysqlclient | before 1.4.6-150100.3.3.7 | 1.4.6-150100.3.3.7 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | lz4 | before 1.8.0-3.5.2 | 1.8.0-3.5.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | mariadb-connector-c | before 3.1.22-2.35.1 | 3.1.22-2.35.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | mariadb104 | before 10.4.30-8.5.46 | 10.4.30-8.5.46 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | python-mysqlclient | before 1.3.14-8.9.2 | 1.3.14-8.9.2 |
Same product
mysql: all recordsOther highest-scoring records for the same primary product.
- CVE-2004-0627The check_scramble_323 function in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to bypass authentication via a zero-length…61This week
- CVE-2003-0780Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows attackers with ALTER TABLE…60This week
- CVE-2004-0628Stack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of service (crash) and possibly…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2008-7247Nov 30, 2009 · sql/sql_table.cc in MySQL 5.0.x through 5.0.88, 5.1.x through 5.1.41, and 6.0 before 6.0.9-alpha, when the data home directory contains a…25Monitor
- ← EarlierCVE-2009-4019Nov 30, 2009 · mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT…21Monitor
- Later →CVE-2009-4030Nov 30, 2009 · MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1)…17Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| opensuse:mariadb | 10.0.22-3.8 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:mysql | 0:5.0.77-4.el5_4.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-bench | 0:5.0.77-4.el5_4.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-debuginfo | 0:5.0.77-4.el5_4.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-devel | 0:5.0.77-4.el5_4.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-server | 0:5.0.77-4.el5_4.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:mysql-test | 0:5.0.77-4.el5_4.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| suse:lz4 | 1.8.0-3.5.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:mariadb-connector-c | 3.1.22-2.35.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:mariadb104 | 10.4.30-150100.3.5.10 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package registry (OSV) |
| suse:python-mysqlclient | 1.4.6-150100.3.3.7 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- dev.mysql.com/doc/refman/5.0/en/news-5-0-88.html
- dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- marc.info/?l=oss-security&m=125881733826437&w=2
- www.openwall.com/lists/oss-security/2009/11/19/3
- www.openwall.com/lists/oss-security/2009/11/23/16
- www.redhat.com/support/errata/RHSA-2010-0109.html
- www.vupen.com/english/advisories/2010/1107
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10940
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8510
Vendor advisories and official records. Exploit/PoC links are deliberately left out.