CVE-2010-1129: PHP

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

The safe_mode implementation in PHP before 5.2.13 does not properly handle directory pathnames that lack a trailing / (slash) character, which allows context-dependent attackers to bypass intended access restrictions via vectors related to use of the tempnam function.

Affected products

  • PHP PHP: version 5.2.0 only; version 5.2.1 only; version 5.2.2 only; version 5.2.3 only; version 5.2.4 only; version 5.2.5 only; …

Published 2010-03-26. Last modified 2026-06-16.