{"id":"CVE-2006-1516","aliases":["DSA-1071-1","DSA-1073-1","DSA-1079-1","EUVD-2006-1520","GHSA-8q78-357r-r6m7","RHSA-2006:0544"],"status":"published","title":"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,...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.36352,"percentile":0.98495,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2006-05-05T10:00:00Z","modified":"2026-06-26T10:04:42Z","exploits":[{"source":"exploitdb","id":"EDB-1742","title":"MySQL 4.1.18/5.0.20 - Local/Remote Information Leakage","type":"remote","platform":"linux","date":"2006-05-02","verified":true,"url":"https://www.exploit-db.com/exploits/1742"}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.49-8.15"}]}],"versions":["3.23.49-8.10","3.23.49-8.11","3.23.49-8.13","3.23.49-8.14","3.23.49-8.8","3.23.49-8.9"],"bundled":4},{"source":"osv","ecosystem":"Debian:3.1","package":"mysql-dfsg-4.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.11a-4sarge3"}]}],"versions":["4.1.11a-4","4.1.11a-4sarge1","4.1.11a-4sarge2"],"bundled":4},{"source":"osv","ecosystem":"Debian:3.1","package":"mysql-dfsg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.24-10sarge2"}]}],"versions":["4.0.24-10","4.0.24-10sarge1"],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.20-1.RHEL4.1"}]}],"bundled":6}],"products":[{"vendor":"mysql","product":"mysql"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://www.trustix.org/errata/2006/0028","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred"]},{"url":"http://secunia.com/advisories/19929","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/20073","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugs.debian.org/365938","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-072A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource"]},{"url":"http://www.debian.org/security/2006/dsa-1079","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2006/1633","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/434164/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/20424","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200605-13.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://securityreason.com/securityalert/840","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://docs.info.apple.com/article.html?artnum=305214","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2006-Jun/0011.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2006-06-02.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/17780","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:084","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://dev.mysql.com/doc/refman/5.0/en/news-5-0-21.html","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://secunia.com/advisories/20241","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/20762","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/26236","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2006\u0026m=slackware-security.599377","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred"]},{"url":"http://secunia.com/advisories/20333","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://securitytracker.com/id?1016017","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Patch"]},{"url":"http://secunia.com/advisories/20002","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/20223","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/20076","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.wisec.it/vulns.php?page=7","tags":["x_refsource_MISC","x_transferred","Patch"]},{"url":"http://www.debian.org/security/2006/dsa-1071","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/1326/references","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/0930","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/432733/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/20253","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://usn.ubuntu.com/283-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/20457","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2006/dsa-1073","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/29847","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/20625","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2006-0544.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9918","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/24479","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-1516","tags":["advisory"]},{"url":"https://usn.ubuntu.com/283-1"},{"url":"https://github.com/advisories/GHSA-8q78-357r-r6m7"},{"url":"https://access.redhat.com/errata/RHSA-2006:0544","tags":["advisory"]},{"url":"http://lists.mysql.com/announce/364","tags":["article"]},{"url":"http://www.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=183260","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=183277","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=190743","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=190863","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=193827","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2006/rhsa-2006_0544.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-0903","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=194613","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-0903","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-0903","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-1516","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618038","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-1516","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-1517","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618039","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-1517","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-1517","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-2753","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618111","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-2753","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-2753","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-3081","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618132","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-3081","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-3081","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4380","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618185","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4380","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4380","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2006-1516","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":"published","published":"2006-05-05T10:00:00Z","modified":"2024-08-07T17:12:22.153Z","updated_at":"2026-11-02T14:33:51.470623Z"}],"euvd":[{"id":"EUVD-2006-1520","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":"published","published":"2006-05-05T10:00:00Z","modified":"2024-08-07T17:12:22Z","updated_at":"2026-11-03T01:16:04.984374Z"}],"ghsa":[{"id":"GHSA-8q78-357r-r6m7","title":"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,...","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":"published","published":"2022-05-01T06:50:19Z","modified":"2025-04-03T04:32:53Z","updated_at":"2026-11-02T15:00:45.528888Z"}],"nvd":[{"id":"CVE-2006-1516","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":"published","published":"2006-05-05T12:46:00Z","modified":"2026-06-16T22:23:06.34Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:02.98271Z"}],"osv":[{"id":"DSA-1071-1","title":"mysql - several vulnerabilities","status":"published","published":"2006-05-22T00:00:00Z","modified":"2026-03-09T01:01:53.528687Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1073-1","title":"mysql-dfsg-4.1 - several vulnerabilities","status":"published","published":"2006-05-22T00:00:00Z","modified":"2026-03-09T01:01:30.913738Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1079-1","title":"mysql-dfsg - several","status":"published","published":"2006-05-29T00:00:00Z","modified":"2026-03-09T01:00:43.942691Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2006:0544","title":"Red Hat Security Advisory: mysql security update","status":"published","published":"2024-09-15T16:13:58Z","modified":"2026-06-26T10:04:42Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
