Skip to content
OpenAdvisories
Unscored CVE-2015-2331 EUVD-2015-2424GHSA-wfcw-88hm-m2xm

Integer overflow in the _zip_cdir_new function in zip_dirent.c in libzip 0.11.2 and earlier, as used in the ZIP extension in PHP before 5.4…

Published Mar 30, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

Integer overflow in the _zip_cdir_new function in zip_dirent.c in libzip 0.11.2 and earlier, as used in the ZIP extension in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 and other products, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a ZIP archive that contains many entries, leading to a heap-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libzip 0.11.2-1.2 —
Debian 13 libzip 0.11.2-1.2 —
Debian 12 libzip 0.11.2-1.2 —
Debian 7 php5 5.4.39-0+deb7u1 DSA-3198-1
Debian 6.0 php5 5.3.3.1-7+squeeze26 DLA-212-1
ReleasePackageFixed inAdvisory
SLES 12 libzip 0.11.1-6.1 SUSE-SU-2015:0668-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 libzip 0.11.1-6.1 SUSE-SU-2015:0668-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libzip 1.1.3-1.4 openSUSE-SU-2024:10113-1
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1

Advisories 7

References