php: crash when extracting zip file with relative paths
Published Apr 8, 2009
5.0
MEDIUMCVSS 2.0
EPSS 1.97%
Description
The php_zip_make_relative_path function in php_zip.c in PHP 5.2.x before 5.2.9 allows context-dependent attackers to cause a denial of service (crash) via a ZIP file that contains filenames with relative paths, which is not properly handled during extraction.
Affected products
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect PHP versions as shipped in Red Hat Enterprise Linux 2.1, 3, 4, and 5, and Red Hat Application Stack v1 and v2. This problem was introduced in the fix for CVE-2008-5658. Patch for CVE-2008-5658 as used in Red Hat Application Stack v2 also includes the fix for this crash too.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.97% (0.01965) | 79.66th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.97% (0.01965) | 77.70th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.17% (0.02169) | 82.81th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.17% (0.04172) | 80.82th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.39% (0.01389) | 79.04th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.67% (0.02675) | 90.13th | v3 (v2023.03.01) |
| Dec 12, 2024 | 1.62% (0.01619) | 87.99th | v3 (v2023.03.01) |
| May 8, 2024 | 1.55% (0.01551) | 87.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.55% (0.01551) | 85.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (14)
- http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.48&r2=1.1.2.49 x_refsource_MISC
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=125017764422557&w=2 vendor-advisoryx_refsource_HP
- http://secunia.com/advisories/35685 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/36701 third-party-advisoryx_refsource_SECUNIA
- http://support.apple.com/kb/HT3865 x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2009/04/01/9 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2009/04/09/1 mailing-listx_refsource_MLIST
- http://www.php.net/releases/5_2_9.php x_refsource_CONFIRMVendor Advisory
- https://access.redhat.com/security/cve/CVE-2009-1272 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=494531 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2009-1272
- https://www.cve.org/CVERecord?id=CVE-2009-1272
Change history (0)
No recorded changes yet.