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

# CVE-2005-0004

Publication date 14 April 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The mysqlaccess script in MySQL 4.0.23 and earlier, 4.1.x before 4.1.10,
5.0.x before 5.0.3, and other versions including 3.x, allows local users to
overwrite arbitrary files or read temporary files via a symlink attack on
temporary files.

## 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-0004)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2005-0004)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2005-0004)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2005-0004)

### Related Ubuntu Security Notices (USN)

+ [USN-63-1](https://usn.ubuntu.com/USN-63-1)
+ MySQL client vulnerability
+ 19 January 2005

### Other references

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