---
title: "CVE-2009-5026\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2009-5026?format=md
keywords: index, follow
---

# CVE-2009-5026

Publication date 17 August 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2009-5026?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mysql-5.1 | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Fixed 5.1.61-0ubuntu0.10.10.1 |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| mysql-cluster-7.0 | 11.10 oneiric | Ignored |
| 11.04 natty | Ignored |
| 10.10 maverick | Ignored |
| 10.04 LTS lucid | Ignored |
| 8.04 LTS hardy | Not in release |
| mysql-dfsg-5.0 | 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not affected |
| mysql-dfsg-5.1 | 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Fixed 5.1.61-0ubuntu0.10.04.1 |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

mysql-cluster-7.0 not supported per server team

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5026)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2009-5026)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2009-5026)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2009-5026)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2009-5026>
