Back

MEDIUM

php/libzip: segfault with FL_UNCHANGED on empty archive in zip_name_locate()

Published Mar 20, 2011

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (0)

No CWE recorded.

References (30)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner certcc
Published Mar 20, 2011
Updated Aug 6, 2024
Reserved Jan 11, 2011
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Jan 30, 2011