---
title: "CVE-2009-2446\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-2446?format=md
keywords: index, follow
---

# CVE-2009-2446

Publication date 13 July 2009

Last updated 20 September 2025

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

Multiple 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 remote
authenticated users to cause a denial of service (daemon crash) and
possibly have unspecified other impact via format string specifiers in a
database name in a (1) COM\_CREATE\_DB or (2) COM\_DROP\_DB request. NOTE:
some of these details are obtained from third party information.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mysql-5.1 | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 9.04 jaunty | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| mysql-dfsg-5.0 | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Ignored end of life |
| 9.04 jaunty | Fixed 5.1.30really5.0.75-0ubuntu10.3 |
| 8.10 intrepid | Fixed 5.0.67-0ubuntu6.1 |
| 8.04 LTS hardy | Fixed 5.0.51a-3ubuntu5.5 |
| 6.06 LTS dapper | Fixed 5.0.22-0ubuntu6.06.12 |
| mysql-dfsg-5.1 | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Not affected |
| 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | 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)
* [Patch details](https://ubuntu.com/security/CVE-2009-2446?format=md#patch-details)

## Notes

---

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

grep -r 'mysql\_log.write(thd,command,packet)' ./\* shows all of 5.0
are likely affected

---

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

PoC: http://seclists.org/fulldisclosure/2009/Jul/0058.html
re-classifying as low as a bunch of non-default conditions need
to be met. See redhat bug.
Doesn't affect 5.1 per mysql bug

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| mysql-dfsg-5.0 | * Upstream:   <http://lists.mysql.com/commits/77649> * Vendor:   <http://patch-tracker.debian.org/patch/series/view/mysql-dfsg-5.0/5.0.51a-24+lenny2/95_SECURITY_CVE-2009-2446.dpatch> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-897-1](https://usn.ubuntu.com/USN-897-1)
+ MySQL vulnerabilities
+ 10 February 2010

+ [USN-1397-1](https://usn.ubuntu.com/USN-1397-1)
+ MySQL vulnerabilities
+ 12 March 2012

### Other references

* <http://seclists.org/fulldisclosure/2009/Jul/0058.html>
* <https://www.cve.org/CVERecord?id=CVE-2009-2446>
