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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2331
Reference (s):
- APPLE:APPLE-SA-2015-09-30-3
- URL: http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://git.php.net/?p=php-src.git;a=commit;h=ef8fc4b53d92fbfcd8ef1abbd6f2f5fe2c4a11e5
- http://hg.nih.at/libzip/rev/9f11d54f692e
- http://php.net/ChangeLog-5.php

