CVE-2006-1516: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-8q78-357r-r6m7
Published
Advisory Summary

CVE-2006-1516 is a MODERATE security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2006-1516 at a Glance

CVE Identifier CVE-2006-1516
GHSA Identifier GHSA-8q78-357r-r6m7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2006-1516

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2006-1516, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2006-1516 NVD
https://nvd.nist.gov/vuln/detail/CVE-2006-1516
exchange.xforce.ibmcloud.com/vulnerabilities/262... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/26236
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9918
usn.ubuntu.com/283-1 WEB
https://usn.ubuntu.com/283-1
bugs.debian.org/365938 WEB
http://bugs.debian.org/365938
dev.mysql.com/doc/refman/5.0/en/n... WEB
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-21.html
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=305214
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
Software Security Information SECURITY
http://lists.suse.com/archive/suse-security-announce/2006-Jun/0011.html
secunia.com/advisories/19929 WEB
http://secunia.com/advisories/19929
secunia.com/advisories/20002 WEB
http://secunia.com/advisories/20002
secunia.com/advisories/20073 WEB
http://secunia.com/advisories/20073
secunia.com/advisories/20076 WEB
http://secunia.com/advisories/20076
secunia.com/advisories/20223 WEB
http://secunia.com/advisories/20223
secunia.com/advisories/20241 WEB
http://secunia.com/advisories/20241
secunia.com/advisories/20253 WEB
http://secunia.com/advisories/20253
secunia.com/advisories/20333 WEB
http://secunia.com/advisories/20333
secunia.com/advisories/20424 WEB
http://secunia.com/advisories/20424
secunia.com/advisories/20457 WEB
http://secunia.com/advisories/20457
secunia.com/advisories/20625 WEB
http://secunia.com/advisories/20625
secunia.com/advisories/20762 WEB
http://secunia.com/advisories/20762
secunia.com/advisories/24479 WEB
http://secunia.com/advisories/24479
secunia.com/advisories/29847 WEB
http://secunia.com/advisories/29847
Software Security Information SECURITY
http://securityreason.com/securityalert/840
Software Security Information SECURITY
http://securitytracker.com/id?1016017
Software Security Information SECURITY
http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.599377
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1071
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1073
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1079
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200605-13.xml
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2006:084
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2006-06-02.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2006-0544.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/432733/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/434164/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/17780
www.trustix.org/errata/2006/0028 WEB
http://www.trustix.org/errata/2006/0028
www.us-cert.gov/cas/techalerts/ta07... WEB
http://www.us-cert.gov/cas/techalerts/TA07-072A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2006/1633
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/0930
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/1326/references
www.wisec.it/vulns.php WEB
http://www.wisec.it/vulns.php?page=7

Frequently Asked Questions

What is CVE-2006-1516?
CVE-2006-1516 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2006-1516?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2006-1516?
CVE-2006-1516 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2006-1516?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8q78-357r-r6m7",
  "modified" : "2025-04-03T04:31:48Z",
  "published" : "2022-05-01T06:50:19Z",
  "aliases" : [ "CVE-2006-1516" ],
  "details" : "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.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-1516"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/26236"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9918"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/283-1"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.debian.org/365938"
  }, {
    "type" : "WEB",
    "url" : "http://dev.mysql.com/doc/refman/5.0/en/news-5-0-21.html"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=305214"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.suse.com/archive/suse-security-announce/2006-Jun/0011.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/19929"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20002"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20073"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20076"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20223"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20241"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20253"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20333"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20424"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20457"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20625"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20762"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24479"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29847"
  }, {
    "type" : "WEB",
    "url" : "http://securityreason.com/securityalert/840"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1016017"
  }, {
    "type" : "WEB",
    "url" : "http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.599377"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1071"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1073"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1079"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200605-13.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2006:084"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2006-06-02.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2006-0544.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/432733/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/434164/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/17780"
  }, {
    "type" : "WEB",
    "url" : "http://www.trustix.org/errata/2006/0028"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA07-072A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2006/1633"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/0930"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/1326/references"
  }, {
    "type" : "WEB",
    "url" : "http://www.wisec.it/vulns.php?page=7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2006-05-05T12:46:00Z"
  }
}