CVE-2007-1835: PHP

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

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Affected products

  • PHP PHP: version 4.0 only; version 4.0.0 only; version 4.0.1 only; version 4.0.2 only; version 4.0.3 only; version 4.0.4 only; …

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