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

# CVE-2006-0903

Publication date 27 February 2006

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms
via SQL queries that contain the NULL character, which are not properly
handled by the mysql\_real\_query function. NOTE: this issue was originally
reported for the mysql\_query function, but the vendor states that since
mysql\_query expects a null character, this is not an issue for mysql\_query.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| 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-2006-0903)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2006-0903)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2006-0903)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2006-0903)

### Related Ubuntu Security Notices (USN)

+ [USN-274-2](https://usn.ubuntu.com/USN-274-2)
+ MySQL vulnerability
+ 15 May 2006

+ [USN-274-1](https://usn.ubuntu.com/USN-274-1)
+ MySQL vulnerability
+ 27 April 2006

### Other references

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