Vulnerability in Nih Libzip
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.274, 98.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nih Libzip
- PHP — versions 5.5.0, 5.5.1, 5.5.2
- Debian Linux — versions 7.0
- Fedoraproject Fedora — versions 22
- openSUSE — versions 13.1, 13.2
Weakness classification (CWE)
References
- DSA-3198 (vendor-advisory)
- git.php.net/
- openSUSE-SU-2015:0615 (vendor-advisory)
- HPSBMU03409 (vendor-advisory)
- openSUSE-SU-2015:0644 (vendor-advisory)
- FEDORA-2015-4699 (vendor-advisory)
- FEDORA-2015-4556 (vendor-advisory)
- APPLE-SA-2015-09-30-3 (vendor-advisory)
- HPSBMU03380 (vendor-advisory)
- MDVSA-2015:079 (vendor-advisory)