
CVE catalog
CVE-2015-2331
libzip: CVE-2015-2331
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 27.39% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libzip | sid | 1.12.1-1 | fixed |
| Debian | libzip | forky | 1.12.1-1 | fixed |
| Debian | libzip | trixie | 1.11.3-2 | fixed |
| Debian | libzip | bookworm | 1.7.3-1 | fixed |
| Suse | libzip | linux enterprise desktop 12 | 0.11.1-6.1 | fixed |
| Suse | libzip | linux enterprise software development kit 12 | 0.11.1-6.1 | fixed |
| Suse | libzip | linux enterprise server 12 | 0.11.1-6.1 | fixed |
| Suse | libzip | linux enterprise server for sap applications 12 | 0.11.1-6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libzip | source | sid | 0.11.2-1.2 | not yet assigned | Not reported | [780756] |
| Debian | libzip | source | forky | 0.11.2-1.2 | not yet assigned | Not reported | [780756] |
| Debian | libzip | source | trixie | 0.11.2-1.2 | not yet assigned | Not reported | [780756] |
| Debian | libzip | source | bookworm | 0.11.2-1.2 | not yet assigned | Not reported | [780756] |
| Suse | libzip | rpm | linux enterprise desktop 12 | 0.11.1-6.1 | Not reported | SUSE-SU-2015:0668-1 | Not reported |
| Suse | libzip | rpm | linux enterprise software development kit 12 | 0.11.1-6.1 | Not reported | SUSE-SU-2015:0668-1 | Not reported |
| Suse | libzip | rpm | linux enterprise server 12 | 0.11.1-6.1 | Not reported | SUSE-SU-2015:0668-1 | Not reported |
| Suse | libzip | rpm | linux enterprise server for sap applications 12 | 0.11.1-6.1 | Not reported | SUSE-SU-2015:0668-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libzip4]Fixed
Source package: [libzip]
Details (2)
1.7.3-1+b1· amd64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
1.7.3-1+b1· arm64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
- [libzip-dev]Fixed
Source package: [libzip]
Details (2)
1.7.3-1+b1· amd64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
1.7.3-1+b1· arm64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
- [zipcmp]Fixed
Source package: [libzip]
Details (2)
1.7.3-1+b1· amd64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
1.7.3-1+b1· arm64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
- [zipmerge]Fixed
Source package: [libzip]
Details (2)
1.7.3-1+b1· amd64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
1.7.3-1+b1· arm64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
- [ziptool]Fixed
Source package: [libzip]
Details (2)
1.7.3-1+b1· amd64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
1.7.3-1+b1· arm64 · bookwormFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · bookworm; dsa · libzip · debian · 12
[Debian 13 (Trixie)]
- [libzip5]Fixed
Source package: [libzip]
Details (2)
1.11.3-2· amd64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
1.11.3-2· arm64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
- [libzip-dev]Fixed
Source package: [libzip]
Details (2)
1.11.3-2· amd64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
1.11.3-2· arm64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
- [zipcmp]Fixed
Source package: [libzip]
Details (2)
1.11.3-2· amd64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
1.11.3-2· arm64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
- [zipmerge]Fixed
Source package: [libzip]
Details (2)
1.11.3-2· amd64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
1.11.3-2· arm64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
- [ziptool]Fixed
Source package: [libzip]
Details (2)
1.11.3-2· amd64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
1.11.3-2· arm64 · trixieFixed · Fixed:
0.11.2-1.2dsa · libzip · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2015_0668-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2015-2331]
- [https://osv.dev/vulnerability/SUSE-SU-2015:0668-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2015-2331]
- [https://security-tracker.debian.org/tracker/CVE-2015-2331]
- [https://security.access.redhat.com/data/csaf/v2/vex/2015/cve-2015-2331.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2015/wid-sec-w-2023-1281.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]