CVE-2008-5658: PHP

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

Directory traversal vulnerability in the ZipArchive::extractTo function in PHP 5.2.6 and earlier allows context-dependent attackers to write arbitrary files via a ZIP file with a file whose name contains .. (dot dot) sequences.

Affected products

  • PHP PHP: up to and including 5.2.6; version 5.0.0 only; version 5.0.1 only; version 5.0.2 only; version 5.0.3 only; version 5.0.4 only; …

Published 2008-12-17. Last modified 2026-06-16.