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, and 5.0.x up to 5.0.20 allows remote attacker
Noroxi assessment
Priority: Monitor (action score 31/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 36.3% (FIRST EPSS); higher than 98.4% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: mysql (Debian:3.0) 3.23.49-8.15; mysql-dfsg (Debian:3.1) 4.0.24-10sarge2; mysql-dfsg-4.1 (Debian:3.1) 4.1.11a-4sarge3.
Low priority for now. Upgrade to mysql (Debian:3.0) 3.23.49-8.15; mysql-dfsg (Debian:3.1) 4.0.24-10sarge2; mysql-dfsg-4.1 (Debian:3.1) 4.1.11a-4sarge3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 5, 2006
- Updated
- Jun 16, 2026
- EPSS
- 36.3% · 98th percentile
- CWE
- —
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 11 / 30 · 36.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)
Is MySQL on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mysql mysql4.1.0
- mysql mysql4.1.10
- mysql mysql4.1.12
- mysql mysql4.1.13
- mysql mysql4.1.14
- mysql mysql4.1.15
- mysql mysql4.1.3
- mysql mysql4.1.8
- mysql mysql5.0.1
- mysql mysql5.0.10
- mysql mysql5.0.15
- mysql mysql5.0.16
- mysql mysql5.0.17
- mysql mysql5.0.2
- mysql mysql5.0.3
- mysql mysql5.0.4
- mysql mysql5.0.5
- oracle mysql4.0.0
- oracle mysql4.0.1
- oracle mysql4.0.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.0 | mysql | before 3.23.49-8.15 | 3.23.49-8.15 |
| Debian:3.1 | mysql-dfsg | before 4.0.24-10sarge2 | 4.0.24-10sarge2 |
| Debian:3.1 | mysql-dfsg-4.1 | before 4.1.11a-4sarge3 | 4.1.11a-4sarge3 |
| Red Hat:enterprise_linux:4::as | mysql | before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
| Red Hat:enterprise_linux:4::as | mysql-bench | before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
| Red Hat:enterprise_linux:4::as | mysql-debuginfo | before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
| Red Hat:enterprise_linux:4::as | mysql-devel | before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
| Red Hat:enterprise_linux:4::as | mysql-server | before 0:4.1.20-1.RHEL4.1 | 0:4.1.20-1.RHEL4.1 |
Same product
mysql: all recordsOther highest-scoring records for the same primary product.
- CVE-2004-0627The check_scramble_323 function in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to bypass authentication via a zero-length scr61This week
- CVE-2003-0780Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows attackers with ALTER TABLE privil60This week
- CVE-2004-0628Stack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of service (crash) and possibly 42Plan
Published before and after this one in the same product
- ← EarlierCVE-2005-2573Aug 16, 2005 · The mysql_create_function function in sql_udf.cc for MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta, when running on 21Monitor
- ← EarlierCVE-2006-0903Feb 27, 2006 · MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not prop18Monitor
- Later →CVE-2006-1517May 5, 2006 · 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 obtain sensitive information22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:mysql | 3.23.49-8.15 · Debian:3.0 | Package registry (OSV) |
| debian:mysql-dfsg | 4.0.24-10sarge2 · Debian:3.1 | Package registry (OSV) |
| debian:mysql-dfsg-4.1 | 4.1.11a-4sarge3 · Debian:3.1 | Package registry (OSV) |
| red hat:mysql | 0:4.1.20-1.RHEL4.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:mysql-bench | 0:4.1.20-1.RHEL4.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:mysql-debuginfo | 0:4.1.20-1.RHEL4.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:mysql-devel | 0:4.1.20-1.RHEL4.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:mysql-server | 0:4.1.20-1.RHEL4.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2006-05-02 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-3 d
- Published
- TodayOct 28, 2026+7481 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- none
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- dev.mysql.com/doc/refman/5.0/en/news-5-0-21.html
- docs.info.apple.com/article.html?artnum=305214
- lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
- lists.suse.com/archive/suse-security-announce/2006-Jun/0011.html
- secunia.com/advisories/19929
- secunia.com/advisories/20002
- secunia.com/advisories/20073
- secunia.com/advisories/20076
- secunia.com/advisories/20223
- secunia.com/advisories/20241
- secunia.com/advisories/20253
- secunia.com/advisories/20333
- secunia.com/advisories/20424
- secunia.com/advisories/20457
- secunia.com/advisories/20625
- secunia.com/advisories/20762
- secunia.com/advisories/24479
- secunia.com/advisories/29847
- securityreason.com/securityalert/840
Vendor advisories and official records. Exploit/PoC links are deliberately left out.