CVE-2004-1064: Canonical Ubuntu Linux

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

The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

Affected products

  • Canonical Ubuntu Linux: version 4.10 only
  • PHP PHP: from 4.0.0, up to and including 4.3.9; from 5.0.0, up to and including 5.0.2

Published 2005-01-10. Last modified 2026-06-16.