CVE-2008-5658 json
Directory traversal vulnerability in the ZipArchive::extractTo function in PHP 5.2.6 and earlier allows context-dependent attackers to writ…
published 2008-12-17 17 y ago modified 2026-06-16 4 mo ago also EUVD-2008-5629
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-gd RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-cli RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-dba RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-pdo RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-xml RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-imap RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-ldap RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
red hat advisories RHSA-2009:0350
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-5658 updated
php: ZipArchive:: extractTo() Directory Traversal Vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.03% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sektioneins.de http://www.sektioneins.de/advisories/SE-2008-06.txt referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
sektioneins.de
/advisories/SE-2008-06.txt
exploit
-
marc.info
/?l=bugtraq&m=125631037611762&w=2
vendor-advisory
-
marc.info
/?l=bugtraq&m=124654546101607&w=2
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-May/msg01451.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-02/msg00002.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2009-0350.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-May/msg01465.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:045
vendor-advisory
-
debian.org
/security/2009/dsa-1789
vendor-advisory
-
securityfocus.com
/bid/32625
vdb-entry
-
securitytracker.com
/id?1021303
vdb-entry
-
securityfocus.com
/archive/1/501376/100/0/threaded
mailing-list
- wiki.rpath.com /Advisories:rPSA-2009-0035
-
osvdb.org
/50480
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/47079
vdb-entry
-
secunia.com
/advisories/35003
third-party-advisory
- php.net /ChangeLog-5.php#5.2.7
-
openwall.com
/lists/oss-security/2008/12/04/3
mailing-list
-
archives.neohapsis.com
/archives/bugtraq/2008-12/0039.html
mailing-list
-
secunia.com
/advisories/35306
third-party-advisory
-
secunia.com
/advisories/35650
third-party-advisory
Sources
- CVE List CVE-2008-5658
- NVD CVE-2008-5658
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.