CVE-2015-2331

Summary

CVECVE-2015-2331
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2015-03-30 10:59:12 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionInteger 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 7.0 All All All
Operating System Fedoraproject Fedora 22 All All All
Application Nih Libzip All All All All
Operating System Opensuse Opensuse 13.1 All All All
Operating System Opensuse Opensuse 13.2 All All All
Application Php Php 5.5.0 All All All
Application Php Php 5.5.0 alpha1 All All
Application Php Php 5.5.0 alpha2 All All
Application Php Php 5.5.0 alpha3 All All
Application Php Php 5.5.0 alpha4 All All
Application Php Php 5.5.0 alpha5 All All
Application Php Php 5.5.0 alpha6 All All
Application Php Php 5.5.0 beta1 All All
Application Php Php 5.5.0 beta2 All All
Application Php Php 5.5.0 beta3 All All
Application Php Php 5.5.0 beta4 All All
Application Php Php 5.5.0 rc1 All All
Application Php Php 5.5.0 rc2 All All
Application Php Php 5.5.1 All All All
Application Php Php 5.5.10 All All All
Application Php Php 5.5.11 All All All
Application Php Php 5.5.12 All All All
Application Php Php 5.5.13 All All All
Application Php Php 5.5.14 All All All
Application Php Php 5.5.15 All All All
Application Php Php 5.5.16 All All All
Application Php Php 5.5.17 All All All
Application Php Php 5.5.18 All All All
Application Php Php 5.5.19 All All All
Application Php Php 5.5.2 All All All
Application Php Php 5.5.20 All All All
Application Php Php 5.5.21 All All All
Application Php Php 5.5.22 All All All
Application Php Php 5.5.3 All All All
Application Php Php 5.5.4 All All All
Application Php Php 5.5.5 All All All
Application Php Php 5.5.6 All All All
Application Php Php 5.5.7 All All All
Application Php Php 5.5.8 All All All
Application Php Php 5.5.9 All All All
Application Php Php 5.6.0 alpha1 All All
Application Php Php 5.6.0 alpha2 All All
Application Php Php 5.6.0 alpha3 All All
Application Php Php 5.6.0 alpha4 All All
Application Php Php 5.6.0 alpha5 All All
Application Php Php 5.6.0 beta1 All All
Application Php Php 5.6.0 beta2 All All
Application Php Php 5.6.0 beta3 All All
Application Php Php 5.6.0 beta4 All All
Application Php Php 5.6.1 All All All
Application Php Php 5.6.2 All All All
Application Php Php 5.6.3 All All All
Application Php Php 5.6.4 All All All
Application Php Php 5.6.5 All All All
Application Php Php 5.6.6 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 21 Update: libzip-0.11.2-5.fc21 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
'[security bulletin] HPSBUX03337 SSRT102066 rev.1 - HP-UX Apache Web Server Suite running Apache Web ' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
PHP ZIP Library Integer Overflow Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
APPLE-SA-2015-09-30-3 OS X El Capitan 10.11 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
openSUSE-SU-2015:0615-1: moderate: Security update for libzip af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
hg.nih.at/libzip/rev/9f11d54f692e af854a3a-2127-422b-91ae-364da2661108 hg.nih.at Vendor Advisory
[SECURITY] Fedora 20 Update: libzip-0.11.2-5.fc20 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Support / Security / Advisories / / MDVSA-2015:079 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
'[security bulletin] HPSBMU03380 rev.1 - HP System Management Homepage (SMH) on Linux and Windows, Mu' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
208.43.231.11 Git - php-src.git/commit af854a3a-2127-422b-91ae-364da2661108 git.php.net
[SECURITY] Fedora 22 Update: mingw-libzip-0.11.2-3.fc22 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
openSUSE-SU-2015:0644-1: moderate: Security update for php5 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Oracle Solaris Third Party Bulletin - July 2015 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
'[security bulletin] HPSBMU03409 rev.1 - HP Matrix Operating Environment, Multiple Vulnerabilities' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
PHP :: Sec Bug #69253 :: ZIP Integer Overflow leads to writing past heap boundary af854a3a-2127-422b-91ae-364da2661108 bugs.php.net Exploit
[SECURITY] Fedora 20 Update: mingw-libzip-0.11.2-3.fc20 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
About the security content of OS X El Capitan v10.11 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com
[SECURITY] Fedora 22 Update: libzip-0.11.2-5.fc22 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Debian -- Security Information -- DSA-3198-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[SECURITY] Fedora 21 Update: mingw-libzip-0.11.2-3.fc21 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 php.net
208.43.231.11 Git - php-src.git/commit MITRE git.php.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report