CVE-2007-1887: Canonical Ubuntu Linux

High severity, CVSS 7.5. EPSS: 4.8% chance of exploitation in the next 30 days.

Buffer overflow in the sqlite_decode_binary function in the bundled sqlite library in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter, as demonstrated by calling the sqlite_udf_decode_binary function with a 0x01 character.

Affected products

  • Canonical Ubuntu Linux: version 6.06 only; version 6.10 only; version 7.04 only
  • Debian Debian Linux: version 4.0 only
  • PHP PHP: from 4.0, before 4.4.5 (fixed in 4.4.5); from 5.0.0, before 5.2.3 (fixed in 5.2.3)

Published 2007-04-06. Last modified 2026-06-16.