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 prop
Noroxi assessment
Priority: Monitor (action score 18/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: 1.3% (FIRST EPSS); higher than 72% 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
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.
- Published
- Feb 27, 2006
- Updated
- Jun 16, 2026
- EPSS
- 1.3% · 72th percentile
- CWE
- —
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 18 / 40 · 4.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.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.4
- mysql mysql5.0.5
- oracle mysql3.23
- oracle mysql3.23.0
- oracle mysql3.23.1
- oracle mysql3.23.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 |
| openSUSE:Tumbleweed | mariadb | before 10.6.4-2.1 | 10.6.4-2.1 |
| 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 |
| Red Hat:enterprise_linux:5::client_workstation | mysql | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-bench | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-debuginfo | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-devel | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-server | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:enterprise_linux:5::client_workstation | mysql-test | before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
| Red Hat:rhel_application_stack:1 | mysql | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-bench | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-debuginfo | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-devel | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-server | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| Red Hat:rhel_application_stack:1 | mysql-test | before 0:5.0.30-1.el4s1.1 | 0:5.0.30-1.el4s1.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | mariadb104 | before 10.4.30-150100.3.5.10 | 10.4.30-150100.3.5.10 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | python-mysqlclient | before 1.4.6-150100.3.3.7 | 1.4.6-150100.3.3.7 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | lz4 | before 1.8.0-3.5.2 | 1.8.0-3.5.2 |
+3
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-2558Aug 16, 2005 · Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote19Monitor
- ← 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
- Later →CVE-2006-1516May 5, 2006 · 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 attacker31Monitor
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) |
| opensuse:mariadb | 10.6.4-2.1 · openSUSE:Tumbleweed | 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) |
| red hat:mysql-test | 0:5.0.30-1.el4s1.1 · Red Hat:rhel_application_stack:1 | Package registry (OSV) |
| suse:lz4 | 1.8.0-3.5.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:mariadb-connector-c | 3.1.22-2.35.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
| suse:mariadb104 | 10.4.30-150100.3.5.10 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package registry (OSV) |
| suse:python-mysqlclient | 1.4.6-150100.3.3.7 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | 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-02-27 |
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-1 d
- Published
- TodayNov 2, 2026+7553 d
No history yet (it accumulates with the daily EPSS job).
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
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
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
- bugs.mysql.com/bug.php?id=17667
- rst.void.ru/papers/advisory39.txt
- secunia.com/advisories/19034
- secunia.com/advisories/19502
- secunia.com/advisories/19814
- secunia.com/advisories/20241
- secunia.com/advisories/20253
- secunia.com/advisories/20333
- secunia.com/advisories/20625
- secunia.com/advisories/30351
- securitytracker.com/id?1015693
- www.debian.org/security/2006/dsa-1071
- www.debian.org/security/2006/dsa-1073
- www.debian.org/security/2006/dsa-1079
- www.mandriva.com/security/advisories?name=MDKSA-2006:064
- www.redhat.com/support/errata/RHSA-2006-0544.html
- www.redhat.com/support/errata/RHSA-2007-0083.html
- www.redhat.com/support/errata/RHSA-2008-0364.html
- www.securityfocus.com/bid/16850
Vendor advisories and official records. Exploit/PoC links are deliberately left out.