Input validation error in PHP - CVE-2009-1272

 

Input validation error in PHP - CVE-2009-1272

Published: September 16, 2009 / Updated: June 8, 2025


Vulnerability identifier: #VU110328
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2009-1272
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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 software

PHP

How to mitigate CVE-2009-1272

Install update from vendor's website.

PHP - update to 5.2.9

External References

Related Security Bulletins