Description
The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libzip | 1.5.1-3 | — |
| Debian 13 | libzip | 1.5.1-3 | — |
| Debian 12 | libzip | 1.5.1-3 | — |
| Debian 9 | libzip | 1.1.2-1.1+deb9u1 | DLA-2858-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libzip | 1.1.2-1.1ubuntu0.1~esm1 | USN-4811-1 |
| Ubuntu Pro 16.04 LTS | libzip | 1.0.1-0ubuntu1.1~esm1 | USN-4811-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | libzip | 0.11.1-13.3.1 | SUSE-SU-2017:2546-1 |
| SLES 12 SP2 | libzip | 0.11.1-13.3.1 | SUSE-SU-2017:2546-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | libzip | 0.11.1-13.3.1 | SUSE-SU-2017:2546-1 |
| SLES for SAP 12 SP2 | libzip | 0.11.1-13.3.1 | SUSE-SU-2017:2546-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libzip | 1.8.0-1.2 | openSUSE-SU-2024:11018-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libzip | 1.3.0-r0 | — |
| Alpine v3.23 | libzip | 1.3.0-r0 | — |
| Alpine v3.22 | libzip | 1.3.0-r0 | — |
| Alpine v3.21 | libzip | 1.3.0-r0 | — |
| Alpine v3.20 | libzip | 1.3.0-r0 | — |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libzip | 1.3.0-r0 | — |
| Alpine v3.18 | libzip | 1.3.0-r0 | — |
| Alpine v3.17 | libzip | 1.3.0-r0 | — |
| Alpine v3.16 | libzip | 1.3.0-r0 | — |
| Alpine v3.15 | libzip | 1.3.0-r0 | — |
| Alpine v3.14 | libzip | 1.3.0-r0 | — |
| Alpine v3.13 | libzip | 1.3.0-r0 | — |
| Alpine v3.12 | libzip | 1.3.0-r0 | — |
| Alpine v3.11 | libzip | 1.3.0 | — |
| Alpine v3.10 | libzip | 1.3.0-r0 | — |
| Alpine v3.9 | libzip | 1.3.0 | — |
| Alpine v3.8 | libzip | 1.3.0 | — |
| Alpine v3.7 | libzip | 1.3.0 | — |
| Alpine v3.6 | libzip | 1.2.0-r2 | — |
Advisories 4
- USN-4811-1 libzip vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-2858-1 libzip - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:2546-1 Security update for libzip SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11018-1 libzip-devel-1.8.0-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026