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 t
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.6% · 96th percentile
- CWE
- CWE-20
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 13.6%
Affected systems
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
Affected 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
- 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 scr61This 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 privil60This 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
- CVE-2006-1518Buffer overflow in the open_table function in sql_base.cc in MySQL 5.0.x up to 5.0.20 might allow remote attackers to execute arbitrary code38Monitor
- CVE-2009-2446Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 al37Monitor
- CVE-2004-0835MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table37Monitor
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
- TodaySep 30, 2026+7348 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
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
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html
- 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.