CVE-2009-1272 json
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 serv…
published 2009-04-08 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-1271
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
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-2009-1272 updated cvss 4.3
php: crash when extracting zip file with relative paths
-
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
1.97% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
lists.apple.com
/archives/security-announce/2009/Sep/msg00004.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-07/msg00002.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=125017764422557&w=2
vendor-advisory
-
php.net
/releases/5_2_9.php
vendor-advisory
-
openwall.com
/lists/oss-security/2009/04/09/1
mailing-list
-
openwall.com
/lists/oss-security/2009/04/01/9
mailing-list
- cvs.php.net /viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.48&r2=1.1.2.49
-
secunia.com
/advisories/35685
third-party-advisory
- support.apple.com /kb/HT3865
-
secunia.com
/advisories/36701
third-party-advisory
Sources
- CVE List CVE-2009-1272
- NVD CVE-2009-1272
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.