libzip: integer overflow when processing ZIP archives
Published Mar 30, 2015
7.5
HIGHCVSS 2.0
EPSS 27.69%
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.
Affected products
No data.
Configuration 2
- ≤ 5.4.38
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
Configuration 3
- 7.0
- 22
- 13.1
- 13.2
No data.
CloudForms Management Engine 5
mingw-libzip
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
libzip
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
libzip
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Software Collections
php54-php
Not affected
Red Hat Software Collections
php55-php
Not affected
Red Hat Software Collections
rh-php56-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5 | mingw-libzip | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | libzip | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | libzip | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Software Collections | php54-php | Not affected | n/a |
| Red Hat Software Collections | php55-php | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (37 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 27.69% (0.27692) | 98.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 27.87% (0.27869) | 97.84th | v5 (v2026.06.15) |
| Mar 4, 2026 | 42.71% (0.42710) | 97.40th | v4 (v2025.03.14) |
| Mar 1, 2026 | 28.55% (0.28547) | 96.45th | v4 (v2025.03.14) |
| Feb 4, 2026 | 42.71% (0.42710) | 97.37th | v4 (v2025.03.14) |
| Feb 1, 2026 | 28.55% (0.28547) | 96.43th | v4 (v2025.03.14) |
| Jan 4, 2026 | 42.71% (0.42710) | 97.34th | v4 (v2025.03.14) |
| Jan 1, 2026 | 28.55% (0.28547) | 96.40th | v4 (v2025.03.14) |
| Dec 28, 2025 | 42.71% (0.42710) | 97.34th | v4 (v2025.03.14) |
| Dec 27, 2025 | 33.23% (0.33229) | 96.77th | v4 (v2025.03.14) |
| Dec 4, 2025 | 42.71% (0.42710) | 97.32th | v4 (v2025.03.14) |
| Dec 1, 2025 | 28.55% (0.28547) | 96.36th | v4 (v2025.03.14) |
| Nov 4, 2025 | 42.71% (0.42710) | 97.31th | v4 (v2025.03.14) |
| Nov 1, 2025 | 28.55% (0.28547) | 96.33th | v4 (v2025.03.14) |
| Oct 28, 2025 | 42.71% (0.42710) | 97.31th | v4 (v2025.03.14) |
| Oct 27, 2025 | 33.23% (0.33229) | 96.71th | v4 (v2025.03.14) |
| Oct 4, 2025 | 42.71% (0.42710) | 97.38th | v4 (v2025.03.14) |
| Oct 1, 2025 | 28.55% (0.28547) | 96.39th | v4 (v2025.03.14) |
| Sep 4, 2025 | 33.23% (0.33229) | 96.78th | v4 (v2025.03.14) |
| Sep 1, 2025 | 13.40% (0.13397) | 93.97th | v4 (v2025.03.14) |
| Aug 4, 2025 | 33.23% (0.33229) | 96.74th | v4 (v2025.03.14) |
| Aug 1, 2025 | 13.40% (0.13397) | 93.94th | v4 (v2025.03.14) |
| Jul 30, 2025 | 33.23% (0.33229) | 96.74th | v4 (v2025.03.14) |
| Jul 4, 2025 | 42.71% (0.42710) | 97.32th | v4 (v2025.03.14) |
| Jul 1, 2025 | 28.55% (0.28547) | 96.32th | v4 (v2025.03.14) |
| Jun 4, 2025 | 42.71% (0.42710) | 97.29th | v4 (v2025.03.14) |
| Jun 1, 2025 | 28.55% (0.28547) | 96.28th | v4 (v2025.03.14) |
| May 4, 2025 | 42.71% (0.42710) | 97.28th | v4 (v2025.03.14) |
| May 1, 2025 | 28.55% (0.28547) | 96.24th | v4 (v2025.03.14) |
| Mar 17, 2025 | 42.11% (0.42110) | 97.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 95.08% (0.95076) | 99.41th | v3 (v2023.03.01) |
| Dec 5, 2023 | 95.33% (0.95332) | 99.17th | v3 (v2023.03.01) |
| May 28, 2023 | 95.43% (0.95429) | 99.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 96.47% (0.96475) | 99.25th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.23% (0.08228) | 93.49th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.23% (0.08228) | 92.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.23% (0.08228) | 82.23th | v2 (v2022.01.01) |
References (25)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=ef8fc4b53d92fbfcd8ef1abbd6f2f5fe2c4a11e5 x_refsource_CONFIRM
- http://hg.nih.at/libzip/rev/9f11d54f692e x_refsource_CONFIRMVendor Advisory
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html vendor-advisoryx_refsource_APPLE
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154266.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154276.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154666.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155299.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155622.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/153983.html vendor-advisoryx_refsource_FEDORA
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00083.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=143403519711434&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=143748090628601&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=144050155601375&w=2 vendor-advisoryx_refsource_HP
- http://php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.debian.org/security/2015/dsa-3198 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:079 vendor-advisoryx_refsource_MANDRIVA
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html x_refsource_CONFIRM
- http://www.securitytracker.com/id/1031985 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2015-2331 Vendor Advisory
- https://bugs.php.net/bug.php?id=69253 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1204676 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-2331
- https://support.apple.com/HT205267 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2015-2331
Change history (0)
No recorded changes yet.