CVE-2006-1516
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,...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2006-1516- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2006-1516- Updated
- 2026-11-02
EUVDEUVD-2006-1520 No score
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.
- Record
EUVD-2006-1520- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8q78-357r-r6m7 No score
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,...
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.
- Record
GHSA-8q78-357r-r6m7- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mysqlDebian:3.0 From an advisory covering 4 CVEs |
before 3.23.49-8.15, plus listed versions 3.23.49-8.103.23.49-8.113.23.49-8.133.23.49-8.143.23.49-8.83.23.49-8.9 |
3.23.49-8.15 |
mysql-dfsg-4.1Debian:3.1 From an advisory covering 4 CVEs |
before 4.1.11a-4sarge3, plus listed versions 4.1.11a-44.1.11a-4sarge14.1.11a-4sarge2 |
4.1.11a-4sarge3 |
mysql-dfsgDebian:3.1 From an advisory covering 4 CVEs |
before 4.0.24-10sarge2, plus listed versions 4.0.24-104.0.24-10sarge1 |
4.0.24-10sarge2 |
mysqlRed Hat:enterprise_linux:4::as From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-benchRed Hat:enterprise_linux:4::as From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-develRed Hat:enterprise_linux:4::as From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-serverRed Hat:enterprise_linux:4::as From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysqlRed Hat:enterprise_linux:4::desktop From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-benchRed Hat:enterprise_linux:4::desktop From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mysql-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-develRed Hat:enterprise_linux:4::desktop From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-serverRed Hat:enterprise_linux:4::desktop From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysqlRed Hat:enterprise_linux:4::es From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-benchRed Hat:enterprise_linux:4::es From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-develRed Hat:enterprise_linux:4::es From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-serverRed Hat:enterprise_linux:4::es From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysqlRed Hat:enterprise_linux:4::ws From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-benchRed Hat:enterprise_linux:4::ws From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-develRed Hat:enterprise_linux:4::ws From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
mysql-serverRed Hat:enterprise_linux:4::ws From an advisory covering 6 CVEs |
before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | MySQL 4.1.18/5.0.20 - Local/Remote Information Leakage | 2006-05-02 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2006-1516 is a medium vulnerability (CVSS 5.0) in Mysql, published May 5, 2006. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 36.4%, the 98th percentile. No source names a fixed version.
References
trustix.org/errata/2006/0028
secunia.com/advisories/19929
secunia.com/advisories/20073
bugs.debian.org/365938
us-cert.gov/cas/techalerts/TA07-072A.html
debian.org/security/2006/dsa-1079
Show 70 moreShow less
vupen.com/english/advisories/2006/1633
securityfocus.com/archive/1/434164/100/0/threaded
secunia.com/advisories/20424
gentoo.org/security/en/glsa/glsa-200605-13.xml
lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
securityreason.com/securityalert/840
docs.info.apple.com/article.html?artnum=305214
lists.suse.com/archive/suse-security-announce/2006-Jun/0011.html
novell.com/linux/security/advisories/2006-06-02.html
securityfocus.com/bid/17780
mandriva.com/security/advisories?name=MDKSA-2006:084
dev.mysql.com/doc/refman/5.0/en/news-5-0-21.html
secunia.com/advisories/20241
secunia.com/advisories/20762
exchange.xforce.ibmcloud.com/vulnerabilities/26236
sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1
slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.599377
secunia.com/advisories/20333
securitytracker.com/id?1016017
secunia.com/advisories/20002
secunia.com/advisories/20223
secunia.com/advisories/20076
wisec.it/vulns.php?page=7
debian.org/security/2006/dsa-1071
vupen.com/english/advisories/2008/1326/references
vupen.com/english/advisories/2007/0930
securityfocus.com/archive/1/432733/100/0/threaded
secunia.com/advisories/20253
usn.ubuntu.com/283-1
secunia.com/advisories/20457
debian.org/security/2006/dsa-1073
secunia.com/advisories/29847
secunia.com/advisories/20625
redhat.com/support/errata/RHSA-2006-0544.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9918
secunia.com/advisories/24479
nvd.nist.gov/vuln/detail/CVE-2006-1516
github.com/advisories/GHSA-8q78-357r-r6m7
access.redhat.com/errata/RHSA-2006:0544
lists.mysql.com/announce/364
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=183260
bugzilla.redhat.com/show_bug.cgi?id=183277
bugzilla.redhat.com/show_bug.cgi?id=190743
bugzilla.redhat.com/show_bug.cgi?id=190863
bugzilla.redhat.com/show_bug.cgi?id=193827
security.access.redhat.com/data/csaf/v2/advisories/2006/rhsa-2006_0544.json
access.redhat.com/security/cve/CVE-2006-0903
bugzilla.redhat.com/show_bug.cgi?id=194613
cve.org/CVERecord?id=CVE-2006-0903
nvd.nist.gov/vuln/detail/CVE-2006-0903
access.redhat.com/security/cve/CVE-2006-1516
bugzilla.redhat.com/show_bug.cgi?id=1618038
cve.org/CVERecord?id=CVE-2006-1516
access.redhat.com/security/cve/CVE-2006-1517
bugzilla.redhat.com/show_bug.cgi?id=1618039
cve.org/CVERecord?id=CVE-2006-1517
nvd.nist.gov/vuln/detail/CVE-2006-1517
access.redhat.com/security/cve/CVE-2006-2753
bugzilla.redhat.com/show_bug.cgi?id=1618111
cve.org/CVERecord?id=CVE-2006-2753
nvd.nist.gov/vuln/detail/CVE-2006-2753
access.redhat.com/security/cve/CVE-2006-3081
bugzilla.redhat.com/show_bug.cgi?id=1618132
cve.org/CVERecord?id=CVE-2006-3081
nvd.nist.gov/vuln/detail/CVE-2006-3081
access.redhat.com/security/cve/CVE-2006-4380
bugzilla.redhat.com/show_bug.cgi?id=1618185
cve.org/CVERecord?id=CVE-2006-4380
nvd.nist.gov/vuln/detail/CVE-2006-4380