# CVE-2006-0903: MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not pro…

- Severity: Medium 4.6 (CVSS:2.0, scored by NVD) `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-12-01)
- Published: 2006-02-27T23:00:00.000Z
- Modified: 2026-06-16T22:21:31.950Z
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mysql mysql: 4.1.0; 4.1.3; 4.1.8; 4.1.10; 4.1.12; 4.1.13; 4.1.14; 4.1.15; 5.0.1; 5.0.2; 5.0.4; 5.0.5; and 4 more
- oracle mysql: 3.23; 3.23.0; 3.23.1; 3.23.2; 3.23.3; 3.23.4; 3.23.5; 3.23.6; 3.23.7; 3.23.8; 3.23.9; 3.23.10; and 38 more

## References

- <http://www.mandriva.com/security/advisories?name=MDKSA-2006:064> (vendor-advisory)
- <http://bugs.mysql.com/bug.php?id=17667>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9915> (signature, vdb-entry)
- <http://www.debian.org/security/2006/dsa-1079> (vendor-advisory)
- <http://secunia.com/advisories/19034> (third-party-advisory, vendor-advisory)
- <http://archives.neohapsis.com/archives/fulldisclosure/2006-02/0653.html> (mailing-list)
- <http://rst.void.ru/papers/advisory39.txt>
- <http://www.ubuntu.com/usn/usn-274-2> (vendor-advisory)
- <http://www.securityfocus.com/bid/16850> (vdb-entry)
- <http://secunia.com/advisories/20241> (third-party-advisory)
- <https://usn.ubuntu.com/274-1/> (vendor-advisory)
- <http://securitytracker.com/id?1015693> (vdb-entry)
- <http://secunia.com/advisories/20333> (third-party-advisory)
- <http://secunia.com/advisories/19502> (third-party-advisory)
- <http://secunia.com/advisories/30351> (third-party-advisory)
- <http://www.debian.org/security/2006/dsa-1071> (vendor-advisory)
- <http://www.redhat.com/support/errata/RHSA-2007-0083.html> (vendor-advisory)
- <http://www.vupen.com/english/advisories/2006/0752> (vdb-entry)
- <http://secunia.com/advisories/20253> (third-party-advisory)
- <http://secunia.com/advisories/19814> (third-party-advisory)
- <http://www.debian.org/security/2006/dsa-1073> (vendor-advisory)
- <http://www.redhat.com/support/errata/RHSA-2008-0364.html> (vendor-advisory)
- <http://secunia.com/advisories/20625> (third-party-advisory)
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/24966> (vdb-entry)
- <http://www.redhat.com/support/errata/RHSA-2006-0544.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2006-0903](https://www.cve.org/CVERecord?id=CVE-2006-0903), CVE Terms of Use, modified 2024-08-07
- NVD: [CVE-2006-0903](https://nvd.nist.gov/vuln/detail/CVE-2006-0903), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2006-0903 · Whole record: https://cve.day/CVE-2006-0903.json · Rebuilt by cve.day 2026-11-25T22:56:56.775Z
