CVE-2006-0903: MySQL

Medium severity, CVSS 4.6. EPSS: 1.4% chance of exploitation in the next 30 days.

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.

Affected products

  • MySQL MySQL: version 4.1.0 only; version 4.1.3 only; version 4.1.8 only; version 4.1.10 only; version 4.1.12 only; version 4.1.13 only; …
  • Oracle MySQL: version 3.23 only; version 3.23.0 only; version 3.23.1 only; version 3.23.2 only; version 3.23.3 only; version 3.23.4 only; …

Published 2006-02-27. Last modified 2026-06-16.