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…
Noroxi assessment
Priority: Monitor (action score 30/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 13.5% (FIRST EPSS); higher than 96.5% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: mysql (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-bench (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-debuginfo (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5.
Low priority for now. Upgrade to mysql (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-bench (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5; mysql-debuginfo (Red Hat:enterprise_linux:5::client_workstation) 0:5.0.45-7.el5 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
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.
- Published
- Aug 18, 2006
- Updated
- Jun 16, 2026
- EPSS
- 13.5% · 96th percentile
- CWE
- CWE-20
Report tools
Action score
30
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 13.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- 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 mysql5.0.1
- mysql mysql5.0.2
- mysql mysql5.0.20
- mysql mysql5.0.22.1.0.1
- mysql mysql5.0.24
- mysql mysql5.0.3
- mysql mysql5.0.4
- mysql mysql5.1.5
+4 more rows
- oracle mysql5.0.0
- oracle mysql5.1.10
- oracle mysql5.1.6
- oracle mysql5.1.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:5::client_workstation | mysql | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-bench | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-debuginfo | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-devel | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-server | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-test | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:rhel_application_stack:1 | mysql | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-bench | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-debuginfo | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-devel | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-server | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-test | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| 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-2006-4031Aug 9, 2006 · MySQL 4.1 before 4.1.21 and 5.0 before 5.0.24 allows a local user to access a table through a previously created MERGE table, even after…9Monitor
- ← EarlierCVE-2006-4226Aug 18, 2006 · MySQL before 4.1.21, 5.0 before 5.0.25, and 5.1 before 5.1.12, when run on case-sensitive filesystems, allows remote authenticated users to…15Monitor
- Later →CVE-2006-4380Aug 28, 2006 · MySQL before 4.1.13 allows local users to cause a denial of service (persistent replication slave crash) via a query with multiupdate and…8Monitor
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 |
|---|---|---|
| red hat:mysql | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | Package registry (OSV) |
| red hat:mysql-bench | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | Package registry (OSV) |
| red hat:mysql-debuginfo | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | Package registry (OSV) |
| red hat:mysql-devel | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | Package registry (OSV) |
| red hat:mysql-server | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | Package registry (OSV) |
| red hat:mysql-test | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | 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
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2006-08-17 |
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.
- First PoC-2 d
- Published
- TodayNov 16, 2026+7394 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
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
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:L/Au:S/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 (13 more)Show less
- lists.mysql.com/commits/7918
- secunia.com/advisories/21506
- secunia.com/advisories/21770
- secunia.com/advisories/22080
- secunia.com/advisories/30351
- securitytracker.com/id?1016709
- www.novell.com/linux/security/advisories/2006_23_sr.html
- www.redhat.com/support/errata/RHSA-2007-0083.html
- www.redhat.com/support/errata/RHSA-2008-0364.html
- www.ubuntu.com/usn/usn-338-1
- www.vupen.com/english/advisories/2006/3306
- exchange.xforce.ibmcloud.com/vulnerabilities/28442
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10105
Vendor advisories and official records. Exploit/PoC links are deliberately left out.