HOMEVULNERABILITIESCVE-2006-0903
MEDIUMPOC

CVE-2006-0903

NVD-CWE-OtherPublished: February 27, 2006· Updated: Jun 16, 2026

4.6
CVSS v3.1

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

NVD Source

Technical Analysis

CVE-2006-0903 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2006-0903. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

mysql1 product(s)
mysql
Oracle1 product(s)
mysql
Source: NVD CPE · 129 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (50)

Quick Facts

CVE IDCVE-2006-0903
CVSS Score4.6 / 10
SeverityMEDIUM
CISA KEVNo
ExploitPOC
Affected2 vendor(s)
PublishedFeb 27, 2006

Related CVEs (NVD-CWE-Other)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2006-0903 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.