CVE-2015-2331

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
27.393%
chance of exploitation in the next 30 days
higher than 98.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2015-03-30Published by the CNA10:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
nih libzipthrough 0.11.2no fix listednot listed
php phpthrough 5.4.38no fix listed5.5.0no fix listed5.5.1no fix listed5.5.10no fix listed5.5.11no fix listed(+26 more)not listednot listednot listednot listednot listed
debian debian_linux7.0no fix listednot listed
fedoraproject fedora22no fix listednot listed
opensuse opensuse13.1no fix listed13.2no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

21 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources