What’s Vulnerable › Vulnerabilities
CVE-2008-5658
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2008-12-17 · updated 2026-06-16
- Weakness: CWE-22
Description
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: through 5.2.6; 5.0.0, 5.0.0-beta1, 5.0.0-beta2, 5.0.0-beta3, 5.0.0-beta4, 5.0.0-rc1 (+20)
References
- http://archives.neohapsis.com/archives/bugtraq/2008-12/0039.html
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://osvdb.org/50480
- http://secunia.com/advisories/35003
- http://secunia.com/advisories/35306
- http://secunia.com/advisories/35650
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- http://www.debian.org/security/2009/dsa-1789
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
- http://www.openwall.com/lists/oss-security/2008/12/04/3
Get alerted when CVE-2008-5658 or the next vulnerability affects your stack