CVE-2015-2331
NoneCVSS
—
EPSS
27.4%
Published
Mar 30, 2015
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libzip | 0 | 0.11.2-1.2 |
| Debian:12 | libzip | 0 | 0.11.2-1.2 |
| Debian:13 | libzip | 0 | 0.11.2-1.2 |
| Debian:6.0 | php5 | 0 | 5.3.3.1-7+squeeze26 |
| Debian:7 | php5 | 0 | 5.4.39-0+deb7u1 |
| Mageia:4 | libzip | 0 | 0.11.2-1.1.mga4 |
| Mageia:4 | php | 0 | 5.5.23-1.mga4 |
| Mageia:4 | php-apc | 0 | 3.1.15-4.13.mga4 |
| SUSE:Linux Enterprise Desktop 12 | libzip | 0 | 0.11.1-6.1 |
| SUSE:Linux Enterprise Server 12 | libzip | 0 | 0.11.1-6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | libzip | 0 | 0.11.1-6.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | libzip | 0 | 0.11.1-6.1 |
| Ubuntu:14.04:LTS | libzip | 0 | 0.10.1-1.2 |
| Ubuntu:14.04:LTS | php5 | 0 | 5.5.9+dfsg-1ubuntu4.7 |
| openSUSE:Tumbleweed | libzip | 0 | 1.1.3-1.4 |
| openSUSE:Tumbleweed | php5 | 0 | 5.6.28-1.1 |
| openSUSE:Tumbleweed | php7 | 0 | 7.0.14-1.4 |
Related vulnerabilities
- CVE-2017-14107 The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD… Also affects libzip
- CVE-2011-0421 The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before… Also affects libzip
- CVE-2015-6834 Multiple use-after-free vulnerabilities in PHP before 5.4.45, 5.5.x before 5.5.29, and… Also affects php5
- CVE-2015-5589 The phar_convert_to_other function in ext/phar/phar_object.c in PHP before 5.4.43, 5.5.x… Also affects php5
- CVE-2015-4643 Integer overflow in the ftp_genlist function in ext/ftp/ftp.c in PHP before 5.4.42, 5.5.x… Also affects php5
- CVE-2015-4602 The __PHP_Incomplete_Class function in ext/standard/incomplete_class.c in PHP before… Also affects php5
- CVE-2015-4600 The SoapClient implementation in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before… Also affects php5
- CVE-2015-4599 The SoapFault::__toString method in ext/soap/soap.c in PHP before 5.4.40, 5.5.x before… Also affects php5