cve.bz

CVE-2015-2331 Numeric Errors

no score yetExploit referenceEPSS 27%

No CVSS score yet. EPSS 27% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
27% (unchanged from 27% a week ago; 27% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-189 Numeric Errors
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-2331 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-2331?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-2331?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-2331 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nih:libzipthrough 0.11.2
php:phpthrough 5.4.38
php:php5.5.0
php:php5.5.0:alpha1
php:php5.5.0:alpha2
php:php5.5.0:alpha3
php:php5.5.0:alpha4
php:php5.5.0:alpha5
php:php5.5.0:alpha6
php:php5.5.0:beta1
php:php5.5.0:beta2
php:php5.5.0:beta3
php:php5.5.0:beta4
php:php5.5.0:rc1
php:php5.5.0:rc2
php:php5.5.1
php:php5.5.2
php:php5.5.3
php:php5.5.4
php:php5.5.5
php:php5.5.6
php:php5.5.7
php:php5.5.8
php:php5.5.9
php:php5.5.10
php:php5.5.11
php:php5.5.12
php:php5.5.13
php:php5.5.14
php:php5.5.15
php:php5.5.16
php:php5.5.17
php:php5.5.18
php:php5.5.19
php:php5.5.20
php:php5.5.21
php:php5.5.22
php:php5.6.0:alpha1
php:php5.6.0:alpha2
php:php5.6.0:alpha3
php:php5.6.0:alpha4
php:php5.6.0:alpha5
php:php5.6.0:beta1
php:php5.6.0:beta2
php:php5.6.0:beta3
php:php5.6.0:beta4
php:php5.6.1
php:php5.6.2
php:php5.6.3
php:php5.6.4
php:php5.6.5
php:php5.6.6
debian:debian_linux7.0
fedoraproject:fedora22
opensuse:opensuse13.1
opensuse:opensuse13.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0php55.3.3.1-7+squeeze26DLA-212-1
Debian7php55.4.39-0+deb7u1DSA-3198-1
Debian12, 13, 14libzip0.11.2-1.2DEBIAN-CVE-2015-2331
SUSELinux Enterprise Desktop 12, Linux Enterprise Server 12, Linux Enterprise Server for SAP Applications 12 and 1 morelibzip0.11.1-6.1SUSE-SU-2015:0668-1
openSUSETumbleweedlibzip1.1.3-1.4openSUSE-SU-2024:10113-1
openSUSETumbleweedphp55.6.28-1.1openSUSE-SU-2024:10344-1
openSUSETumbleweedphp77.0.14-1.4openSUSE-SU-2024:10290-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 5, 6 and 7, and the versions of libzip as shipped with Red Hat Enterprise Linux 6 and 7.

ProductPackageStateAdvisory
CloudForms Management Engine 5mingw-libzipNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
Red Hat Enterprise Linux 6libzipNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7libzipNot affected
Red Hat Enterprise Linux 7phpNot affected
Red Hat Software Collectionsphp54-phpNot affected
Red Hat Software Collectionsphp55-phpNot affected
Red Hat Software Collectionsrh-php56-phpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-2331.

References

Check your stackJSON