Home / Mysql / Mysql / CVE-2006-4227
CVE-2006-4227: is it exploited, and which versions of Mysql are affected and fixed?
CVE-2006-4227 is an improper input validation vulnerability in Mysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: mysql 5.0.1, mysql 5.0.2, mysql 5.0.3 and 9 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is 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 allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.
From the CVE record by mitre, last updated August 7, 2024, 18:57 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mysql | mysql | 5.0.1 | application |
| mysql | mysql | 5.0.2 | application |
| mysql | mysql | 5.0.3 | application |
| mysql | mysql | 5.0.4 | application |
| mysql | mysql | 5.0.20 | application |
| mysql | mysql | 5.0.22.1.0.1 | application |
| mysql | mysql | 5.0.24 | application |
| mysql | mysql | 5.1.5 | application |
| oracle | mysql | 5.0.0 | application |
| oracle | mysql | 5.1.6 | application |
| oracle | mysql | 5.1.9 | application |
| oracle | mysql | 5.1.10 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:28 UTC.
How severe is CVE-2006-4227?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2006-4227 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 13.6% probability of exploitation activity in the next 30 days, percentile 96.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- mysql-grant-execute-privilege-escalation(28442) vdb-entry, x_refsource_XF
- ADV-2006-3306 vdb-entry, x_refsource_VUPEN
- SUSE-SR:2006:023 vendor-advisory, x_refsource_SUSE
- oval:org.mitre.oval:def:10105 vdb-entry, signature, x_refsource_OVAL
- USN-338-1 vendor-advisory, x_refsource_UBUNTU
- 21506 third-party-advisory, x_refsource_SECUNIA
- 19559 vdb-entry, x_refsource_BID
- 22080 third-party-advisory, x_refsource_SECUNIA
- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html x_refsource_CONFIRM
- 21770 third-party-advisory, x_refsource_SECUNIA
- 30351 third-party-advisory, x_refsource_SECUNIA
- 1016709 vdb-entry, x_refsource_SECTRACK
- RHSA-2007:0083 vendor-advisory, x_refsource_REDHAT
- RHSA-2008:0364 vendor-advisory, x_refsource_REDHAT
- http://bugs.mysql.com/bug.php?id=18630 x_refsource_CONFIRM
- [commits] 20060620 bk commit into 5.0 tree (kroki:1.2168) BUG#18630 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 18, 2006
- Published
- August 18, 2006, 19:55 UTC
- CVE record updated
- August 7, 2024, 18:57 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:28 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mysql?
- Oct 27, 2017CVE-2017-15945 Mariadb: incorrect permissions on a critical resource
- Apr 16, 2015CVE-2015-2575 Debian Linux: improper access control
- Mar 28, 2013CVE-2013-1492 Mysql: memory corruption (buffer overflow)
- Mar 28, 2013CVE-2012-0553 Mysql: memory corruption (buffer overflow)
- Dec 21, 2012CVE-2012-0882 Oracle Mysql: memory corruption (buffer overflow)
- Aug 17, 2012CVE-2012-2749 Mysql: n/a
- Aug 17, 2012CVE-2012-2102 Mysql: memory corruption (buffer overflow)
- Aug 17, 2012CVE-2009-5026 Mysql: SQL injection
Questions about CVE-2006-4227
Is CVE-2006-4227 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 13.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mysql are affected by CVE-2006-4227?
mysql 5.0.1, mysql 5.0.2, mysql 5.0.3, mysql 5.0.4, mysql 5.0.20, mysql 5.0.22.1.0.1 and 6 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2006-4227?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2006-4227?
Medium (6.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2006-4227?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.