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

# CVE-2005-2558

Publication date 16 August 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Stack-based buffer overflow in the init\_syms function in MySQL 4.0 before
4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote
authenticated users who can create user-defined functions to execute
arbitrary code via a long function\_name field.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mysql-dfsg | 7.04 feisty | Not in release |
| 6.10 edgy | Fixed 4.0.24-10ubuntu2 |
| 6.06 LTS dapper | Fixed 4.0.24-10ubuntu2 |
| mysql-dfsg-4.1 | 7.04 feisty | Not in release |
| 6.10 edgy | Fixed 4.1.15-1ubuntu5 |
| 6.06 LTS dapper | Fixed 4.1.15-1ubuntu5 |
| mysql-dfsg-5.0 | 7.04 feisty | Fixed 5.0.38-0ubuntu1 |
| 6.10 edgy | Fixed 5.0.24a-9ubuntu0.1 |
| 6.06 LTS dapper | Fixed 5.0.22-0ubuntu6.06.3 |

---

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-180-2](https://usn.ubuntu.com/USN-180-2)
+ MySQL 4.1 vulnerability
+ 5 December 2005

+ [USN-180-1](https://usn.ubuntu.com/USN-180-1)
+ MySQL vulnerability
+ 12 September 2005

### Other references

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