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

# CVE-2006-1516

Publication date 5 May 2006

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The check\_connection function in sql\_parse.cc in MySQL 4.0.x up to 4.0.26,
4.1.x up to 4.1.18, and 5.0.x up to 5.0.20 allows remote attackers to read
portions of memory via a username without a trailing null byte, which
causes a buffer over-read.

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

### Related Ubuntu Security Notices (USN)

+ [USN-283-1](https://usn.ubuntu.com/USN-283-1)
+ MySQL vulnerabilities
+ 8 May 2006

### Other references

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