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

# CVE-2004-0957

Publication date 9 February 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Unknown vulnerability in MySQL 3.23.58 and earlier, when a local user has
privileges for a database whose name includes a "\_" (underscore), grants
privileges to other databases that have similar names, which can allow the
user to conduct unauthorized activities.

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

### Related Ubuntu Security Notices (USN)

+ [USN-109-1](https://usn.ubuntu.com/USN-109-1)
+ MySQL vulnerability
+ 6 April 2005

+ [USN-32-1](https://usn.ubuntu.com/USN-32-1)
+ mysql vulnerabilities
+ 25 November 2004

### Other references

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