Home / Mysql / Mysql / CVE-2006-0903
CVE-2006-0903: is it exploited, and which versions of Mysql are affected and fixed?
CVE-2006-0903 is a vulnerability in Mysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: mysql 4.1.0, mysql 4.1.3, mysql 4.1.8 and 37 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is 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 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.
From the CVE record by redhat, last updated August 7, 2024, 16:48 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mysql | mysql | 4.1.0 | application |
| mysql | mysql | 4.1.3 | application |
| mysql | mysql | 4.1.8 | application |
| mysql | mysql | 4.1.10 | application |
| mysql | mysql | 4.1.12 | application |
| mysql | mysql | 4.1.13 | application |
| mysql | mysql | 4.1.14 | application |
| mysql | mysql | 4.1.15 | application |
| mysql | mysql | 5.0.1 | application |
| mysql | mysql | 5.0.2 | application |
| mysql | mysql | 5.0.4 | application |
| mysql | mysql | 5.0.5 | application |
| mysql | mysql | 5.0.10 | application |
| mysql | mysql | 5.0.15 | application |
| mysql | mysql | 5.0.16 | application |
| mysql | mysql | 5.0.17 | application |
| oracle | mysql | 3.23 | application |
| oracle | mysql | 3.23.0 | application |
| oracle | mysql | 3.23.1 | application |
| oracle | mysql | 3.23.2 | application |
| oracle | mysql | 3.23.3 | application |
| oracle | mysql | 3.23.4 | application |
| oracle | mysql | 3.23.5 | application |
| oracle | mysql | 3.23.6 | application |
| oracle | mysql | 3.23.7 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:21 UTC.
How severe is CVE-2006-0903?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2006-0903 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.37% probability of exploitation activity in the next 30 days, percentile 72.8 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- MDKSA-2006:064 vendor-advisory, x_refsource_MANDRIVA
- http://bugs.mysql.com/bug.php?id=17667 x_refsource_CONFIRM
- oval:org.mitre.oval:def:9915 vdb-entry, signature, x_refsource_OVAL
- DSA-1079 vendor-advisory, x_refsource_DEBIAN
- 19034 third-party-advisory, x_refsource_SECUNIA
- 20060225 mysql <= 5.0.18 mailing-list, x_refsource_FULLDISC
- http://rst.void.ru/papers/advisory39.txt x_refsource_MISC
- USN-274-2 vendor-advisory, x_refsource_UBUNTU
- 16850 vdb-entry, x_refsource_BID
- 20241 third-party-advisory, x_refsource_SECUNIA
- USN-274-1 vendor-advisory, x_refsource_UBUNTU
- 1015693 vdb-entry, x_refsource_SECTRACK
- 20333 third-party-advisory, x_refsource_SECUNIA
- 19502 third-party-advisory, x_refsource_SECUNIA
- 30351 third-party-advisory, x_refsource_SECUNIA
- DSA-1071 vendor-advisory, x_refsource_DEBIAN
- RHSA-2007:0083 vendor-advisory, x_refsource_REDHAT
- ADV-2006-0752 vdb-entry, x_refsource_VUPEN
- 20253 third-party-advisory, x_refsource_SECUNIA
- 19814 third-party-advisory, x_refsource_SECUNIA
- DSA-1073 vendor-advisory, x_refsource_DEBIAN
- RHSA-2008:0364 vendor-advisory, x_refsource_REDHAT
- 20625 third-party-advisory, x_refsource_SECUNIA
- mysql-query-log-bypass-security(24966) vdb-entry, x_refsource_XF
- RHSA-2006:0544 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- February 27, 2006
- Published
- February 27, 2006, 23:00 UTC
- CVE record updated
- August 7, 2024, 16:48 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:21 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mysql?
- Oct 27, 2017CVE-2017-15945 Mariadb: incorrect permissions on a critical resource
- Apr 16, 2015CVE-2015-2575 Debian Linux: improper access control
- Mar 28, 2013CVE-2013-1492 Mysql: memory corruption (buffer overflow)
- Mar 28, 2013CVE-2012-0553 Mysql: memory corruption (buffer overflow)
- Dec 21, 2012CVE-2012-0882 Oracle Mysql: memory corruption (buffer overflow)
- Aug 17, 2012CVE-2012-2749 Mysql: n/a
- Aug 17, 2012CVE-2012-2102 Mysql: memory corruption (buffer overflow)
- Aug 17, 2012CVE-2009-5026 Mysql: SQL injection
Questions about CVE-2006-0903
Is CVE-2006-0903 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mysql are affected by CVE-2006-0903?
mysql 4.1.0, mysql 4.1.3, mysql 4.1.8, mysql 4.1.10, mysql 4.1.12, mysql 4.1.13 and 34 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2006-0903?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2006-0903?
Medium (4.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2006-0903?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.