← Vulnerability feed

Vulnerability record · CVE-2009-5026 · published 17 August 2012

CVE-2009-5026: Mysql sql injection vulnerability

Mysql · Mysql

The 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.

6.8 CVSS 2.0 Medium EPSS 7.8% · top 4.6% CWE-89 · SQL injection
6.8CVSS 2.0 base score
7.8%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
14References, 4 tagged exploit
16 Jun 2026Last modified by NVD

Description

The 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.

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

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2009-5026 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-0627MySQL authentication bypass via zero-length scrambled stringThe check_scramble_323 function in MySQL 4.1.x before 4.1.3 and 5.0 fails to properly validate a zero-length scrambled authentication string, allowin…EPSS 70%analysed10.0CVE-2004-0628Mysql vulnerabilityStack-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 execute a…EPSS 7.8%10.0CVE-2004-0836Oracle mysql memory buffer overflow vulnerabilityBuffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of…EPSS 9.5%9.0CVE-2003-0780MySQL get_salt_from_password buffer overflow allows code executionMySQL 4.0.14 and earlier, plus 3.23.x, contain a buffer overflow in get_salt_from_password in sql_acl.cc. An attacker with ALTER TABLE privileges can…EPSS 79%analysed9.0CVE-2003-0150MySQL world-writeable files allow privilege escalation to rootMySQL 3.23.55 and earlier creates world-writeable files and lets mysql users overwrite configuration files via the SELECT ... INTO OUTFILE operator. …EPSS 45%analysed8.5CVE-2009-2446Mysql vulnerabilityMultiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 allow remot…EPSS 11%8.5CVE-2005-2572Oracle mysql vulnerabilityMySQL, when running on Windows, allows remote authenticated users with insert privileges on the mysql.func table to cause a denial of service (server…EPSS 4.7%7.8CVE-2002-0969Oracle mysql classic buffer overflow vulnerabilityBuffer overflow in MySQL daemon (mysqld) before 3.23.50, and 4.0 beta before 4.02, on the Win32 platform, allows local users to execute arbitrary cod…EPSS 1.4%

Source: NIST National Vulnerability Database (record CVE-2009-5026), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.