CVE-2009-5026

Summary

CVECVE-2009-5026
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-08-17 00:55:01 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe executable comment feature in MySQL 5.0.x before 5.0.93 and 5.1.x before 5.1.50, when running in certain slave configurations in which the slave is running a newer version than the master, allows remote attackers to execute arbitrary SQL commands via custom comments.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-89 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mysql Mysql 5.0.0 All All All
Application Mysql Mysql 5.0.1 All All All
Application Mysql Mysql 5.0.10 All All All
Application Mysql Mysql 5.0.15 All All All
Application Mysql Mysql 5.0.16 All All All
Application Mysql Mysql 5.0.17 All All All
Application Mysql Mysql 5.0.2 All All All
Application Mysql Mysql 5.0.20 All All All
Application Mysql Mysql 5.0.24 All All All
Application Mysql Mysql 5.0.3 All All All
Application Mysql Mysql 5.0.4 All All All
Application Mysql Mysql 5.0.45 b All All
Application Mysql Mysql 5.0.5 All All All
Application Mysql Mysql 5.0.82 All All All
Application Mysql Mysql 5.0.84 All All All
Application Mysql Mysql 5.0.87 All All All
Application Mysql Mysql 5.1.23 All All All
Application Mysql Mysql 5.1.31 All All All
Application Mysql Mysql 5.1.32 All All All
Application Mysql Mysql 5.1.34 All All All
Application Mysql Mysql 5.1.37 All All All
Application Oracle Mysql 5.0.23 All All All
Application Oracle Mysql 5.0.41 All All All
Application Oracle Mysql 5.0.45 All All All
Application Oracle Mysql 5.0.51 All All All
Application Oracle Mysql 5.0.67 All All All
Application Oracle Mysql 5.0.75 All All All
Application Oracle Mysql 5.0.77 All All All
Application Oracle Mysql 5.0.81 All All All
Application Oracle Mysql 5.0.83 All All All
Application Oracle Mysql 5.0.85 All All All
Application Oracle Mysql 5.0.86 All All All
Application Oracle Mysql 5.0.88 All All All
Application Oracle Mysql 5.0.89 All All All
Application Oracle Mysql 5.0.90 All All All
Application Oracle Mysql 5.0.91 All All All
Application Oracle Mysql 5.0.92 All All All
Application Oracle Mysql 5.1 All All All
Application Oracle Mysql 5.1.1 All All All
Application Oracle Mysql 5.1.10 All All All
Application Oracle Mysql 5.1.11 All All All
Application Oracle Mysql 5.1.12 All All All
Application Oracle Mysql 5.1.13 All All All
Application Oracle Mysql 5.1.14 All All All
Application Oracle Mysql 5.1.15 All All All
Application Oracle Mysql 5.1.16 All All All
Application Oracle Mysql 5.1.17 All All All
Application Oracle Mysql 5.1.18 All All All
Application Oracle Mysql 5.1.19 All All All
Application Oracle Mysql 5.1.2 All All All
Application Oracle Mysql 5.1.20 All All All
Application Oracle Mysql 5.1.21 All All All
Application Oracle Mysql 5.1.22 All All All
Application Oracle Mysql 5.1.23 a All All
Application Oracle Mysql 5.1.24 All All All
Application Oracle Mysql 5.1.25 All All All
Application Oracle Mysql 5.1.26 All All All
Application Oracle Mysql 5.1.27 All All All
Application Oracle Mysql 5.1.28 All All All
Application Oracle Mysql 5.1.29 All All All
Application Oracle Mysql 5.1.3 All All All
Application Oracle Mysql 5.1.30 All All All
Application Oracle Mysql 5.1.31 sp1 All All
Application Oracle Mysql 5.1.33 All All All
Application Oracle Mysql 5.1.34 sp1 All All
Application Oracle Mysql 5.1.35 All All All
Application Oracle Mysql 5.1.36 All All All
Application Oracle Mysql 5.1.37 sp1 All All
Application Oracle Mysql 5.1.38 All All All
Application Oracle Mysql 5.1.39 All All All
Application Oracle Mysql 5.1.4 All All All
Application Oracle Mysql 5.1.40 All All All
Application Oracle Mysql 5.1.40 sp1 All All
Application Oracle Mysql 5.1.41 All All All
Application Oracle Mysql 5.1.42 All All All
Application Oracle Mysql 5.1.43 All All All
Application Oracle Mysql 5.1.43 sp1 All All
Application Oracle Mysql 5.1.44 All All All
Application Oracle Mysql 5.1.45 All All All
Application Oracle Mysql 5.1.46 All All All
Application Oracle Mysql 5.1.46 sp1 All All
Application Oracle Mysql 5.1.47 All All All
Application Oracle Mysql 5.1.48 All All All
Application Oracle Mysql 5.1.49 All All All
Application Oracle Mysql 5.1.49 sp1 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[security-announce] SUSE-SU-2012:0984-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
MySQL :: MySQL 5.0 Reference Manual :: D.1.1 Changes in MySQL 5.0.93 (Not yet released) af854a3a-2127-422b-91ae-364da2661108 dev.mysql.com
640177 – (CVE-2009-5026) CVE-2009-5026 MySQL replication to slave executable comment execution af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Exploit
MySQL Bugs: #49124: Security issue with /*!-versioned */ SQL statements on Slave af854a3a-2127-422b-91ae-364da2661108 bugs.mysql.com Exploit
Security Advisory SA49179 - SUSE update for mysql-cluster - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
oss-sec: Re: MySQL executable comment execution on MySQL slave server (from 2009) af854a3a-2127-422b-91ae-364da2661108 seclists.org
MySQL :: MySQL 5.1 Reference Manual :: C.1.1 Changes in MySQL 5.1.50 (Not yet released) af854a3a-2127-422b-91ae-364da2661108 dev.mysql.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report