CVE-2006-0903
Description
MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not properly handled by the mysql_real_query function. NOTE: this issue was originally reported for the mysql_query function, but the vendor states that since mysql_query expects a null character, this is not an issue for mysql_query.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.374%
chance of exploitation in the next 30 days
higher than 72.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Timeline
- 2006-02-27Published by the CNA23:00 UTC
- 2006-02-27First Exploit-DB entry (EDB-ID 27326)same day
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 27326 | remote | linux | 2006-02-27 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| mysql mysql | 4.1.0no fix listed4.1.10no fix listed4.1.12no fix listed4.1.13no fix listed4.1.14no fix listed(+11 more) | not listednot listednot listednot listednot listed |
| oracle mysql | 3.23no fix listed3.23.0no fix listed3.23.1no fix listed3.23.10no fix listed3.23.11no fix listed(+108 more) | not listednot listednot listednot listednot listed |
References
- http://secunia.com/advisories/19034
- http://www.debian.org/security/2006/dsa-1071
- http://www.debian.org/security/2006/dsa-1073
- http://www.debian.org/security/2006/dsa-1079
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:064
- http://www.redhat.com/support/errata/RHSA-2006-0544.html
- http://www.redhat.com/support/errata/RHSA-2007-0083.html
- http://www.redhat.com/support/errata/RHSA-2008-0364.html
- http://www.ubuntu.com/usn/usn-274-2
- https://usn.ubuntu.com/274-1/
- http://archives.neohapsis.com/archives/fulldisclosure/2006-02/0653.html
- http://bugs.mysql.com/bug.php?id=17667
- http://rst.void.ru/papers/advisory39.txt
- http://secunia.com/advisories/19502
- http://secunia.com/advisories/19814
- http://secunia.com/advisories/20241
- http://secunia.com/advisories/20253
- http://secunia.com/advisories/20333
- http://secunia.com/advisories/20625
- http://secunia.com/advisories/30351
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2006-0903'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2006-0903'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2006-0903'curl 'https://api.contrastcyber.com/cve_products/CVE-2006-0903'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).