Unscored severity · published Mar 30, 2015
CVE-2015-2331
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…
–
CVSS
27.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)27.4% · higher than 98% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.4.38; 5.5.0; 5.5.0; 5.5.0; 5.5.0; 5.5.0; +34 more · source: NVD
DL
Debian Linux · Debian
7.0 · source: NVD
FE
Fedora · Fedoraproject
22 · source: NVD
LI
Libzip · Nih
through 0.11.2 · source: NVD
OP
Opensuse · Opensuse
13.1; 13.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-2331
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-2331
git.php.net
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=ef8fc4b53d92fbfcd8ef1abbd6f2f5fe2c4a11e5
Vendor Advisory
http://hg.nih.at/libzip/rev/9f11d54f692e
lists.apple.com
http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154266.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154276.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154666.html
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
