Vulnerability · CVE-2006-4227
MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which…
Published Aug 18, 2006 · catalog updated Jun 16, 2026 · Oracle
Check this week
CVE-2006-4227 is not in CISA KEV. FIRST estimates a 13.57% chance of exploitation in the next 30 days. Check whether you run Oracle.
- Severity
- Medium6.5
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 13.57%
- Remediation
- Advisory link
- Affected products
- cpe mysql/mysql · cpe oracle/mysql
MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.
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.1
- cpe mysql/mysql5.0.2
- cpe mysql/mysql5.0.20
- cpe mysql/mysql5.0.22.1.0.1
- cpe mysql/mysql5.0.24
- cpe mysql/mysql5.0.3
- cpe mysql/mysql5.0.4
- cpe mysql/mysql5.1.5
- cpe oracle/mysql5.0.0
- cpe oracle/mysql5.1.10
- cpe oracle/mysql5.1.6
- cpe oracle/mysql5.1.9
How to fix CVE-2006-4227
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2006-4227 is not in CISA KEV. FIRST estimates a 13.57% chance of exploitation in the next 30 days. Check whether you run Oracle.
Which versions are affected?
Compare what you have installed with 5.0.1, 5.0.2, 5.0.20, 5.0.22.1.0.1, 5.0.24, 5.0.3. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-20: Improper Input Validation. EPSS 13.57%. 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.
Aug 18, 2006 · Oracle Critical Patch Updates
Detected
MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.
Jun 16, 2026 · Oracle Critical Patch Updates
Updated
MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.
Sources
- CVE.orgVulnerability recordCVE-2006-4227
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2006-4227
30-day exploitation probability 13.6%
first.org - Oracle Critical Patch UpdatesVendor advisoryCVE-2006-4227
MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.
nvd.nist.gov
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.