CVE-2015-2331 in the critical feed json
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…
published 11y ago modified 4mo ago also EUVD-2015-2424
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 27.4%
- EPSS 27.4% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libzip Debian 14, Debian 13, Debian 12 0.11.2-1.2
debian advisories DEBIAN-CVE-2015-2331
- libzip SLES for SAP 12, SLES 12, SLED 12 +1 more 0.11.1-6.1
suse advisories SUSE-SU-2015:0668-1
- libzip openSUSE Tumbleweed 1.1.3-1.4
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
opensuse advisories openSUSE-SU-2024:10113-1openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1
Is CVE-2015-2331 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-2331 updated cvss 6.8
libzip: integer overflow when processing ZIP archives
-
Red Hat CloudForms Management Engine 5 mingw-libzip, mingw32-libzip, mingw64-libzip Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, libzip, php-gd, php-cli, php-dba, php-fpm, +21 more Red Hat Enterprise Linux 7 php, libzip, php-gd, php-cli, php-dba, php-fpm, +19 more Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, php54-php-cli, +72 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
27.39% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=69253 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
- Technology feeds
References
-
bugs.php.net
/bug.php?id=69253
exploit
-
debian.org
/security/2015/dsa-3198
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2015-03/msg00083.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=144050155601375&w=2
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2015-04/msg00002.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/155622.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/155299.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2015/Sep/msg00008.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=143748090628601&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2015:079
vendor-advisory
-
marc.info
/?l=bugtraq&m=143403519711434&w=2
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-March/153983.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/154266.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/154276.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/154666.html
vendor-advisory
-
hg.nih.at
/libzip/rev/9f11d54f692e
vendor-advisory
- git.php.net /?p=php-src.git%3Ba=commit%3Bh=ef8fc4b53d92fbfcd8ef1abbd6f2f5fe2c4a11e5
- oracle.com /technetwork/topics/security/bulletinjul2015-2511963.html
- php.net /ChangeLog-5.php
- support.apple.com /HT205267
-
securitytracker.com
/id/1031985
vdb-entry
Sources
- CVE List CVE-2015-2331
- NVD CVE-2015-2331
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.