CVE-2026-16517Libarchive: libarchive: signed integer overflow in archive_write_zip_header
A signed integer overflow vulnerability was found in libarchive's ZIP writer. In the archive_write_zip_header function in archive_write_set_format_zip.c, when ZIP encryption is enabled and the entry file size is close to INT64_MAX, the addition of the encryption overhead to the entry size overflows int64_t, resulting in undefined behavior. This could lead to incorrect Zip64 extension decisions or potential memory corruption.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libarchive | Fixed | 3.8.5-1ubuntu2.3 | UBUNTU-CVE-2026-16517 |
| Ubuntu 24.04 | libarchive | Fixed | 3.7.2-2ubuntu0.9 | UBUNTU-CVE-2026-16517 |
| Ubuntu 22.04 | libarchive | Fixed | 3.6.0-1ubuntu1.9 | UBUNTU-CVE-2026-16517 |
| Ubuntu 20.04 | libarchive | Fix pending | UBUNTU-CVE-2026-16517 | |
| Ubuntu 18.04 | libarchive | Fix pending | UBUNTU-CVE-2026-16517 | |
| Ubuntu 16.04 | libarchive | Fix pending | UBUNTU-CVE-2026-16517 | |
| Ubuntu 14.04 | libarchive | Fix pending | UBUNTU-CVE-2026-16517 | |
| Debian 14 | libarchive | Fixed | 3.8.9-1 | DEBIAN-CVE-2026-16517 |
| Debian 13 | libarchive | Fix pending | DEBIAN-CVE-2026-16517 | |
| Debian 12 | libarchive | Fixed | 3.6.2-1+deb12u5 | DEBIAN-CVE-2026-16517 |
| Red Hat Enterprise Linux 10 | bsdtar | Fixed | 0:3.7.7-11.el10_2 | RHSA-2026:69553 |
| Red Hat Enterprise Linux 10 | libarchive | Fixed | 0:3.7.7-11.el10_2 | RHSA-2026:69553 |
| Red Hat Enterprise Linux 10 | libarchive-devel | Fixed | 0:3.7.7-11.el10_2 | RHSA-2026:69553 |
| Red Hat Enterprise Linux 9 | bsdtar | Not affected | ||
| Red Hat Enterprise Linux 9 | libarchive | Not affected | ||
| Red Hat Enterprise Linux 9 | libarchive-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bsdtar | Not affected | ||
| Red Hat Enterprise Linux 8 | libarchive | Not affected | ||
| Red Hat Enterprise Linux 8 | libarchive-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bsdcpio | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libarchive-devel | Fix pending Fix deferred | ||
| AlmaLinux 10 | bsdtar | Fixed | 3.7.7-11.el10_2 | ALSA-2026:69553 |
| AlmaLinux 10 | libarchive | Fixed | 3.7.7-11.el10_2 | ALSA-2026:69553 |
| AlmaLinux 10 | libarchive-devel | Fixed | 3.7.7-11.el10_2 | ALSA-2026:69553 |
| Rocky Linux 10 | libarchive | Fixed | 0:3.7.7-11.el10_2 | RLSA-2026:69553 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Hardened Images
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:43818 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:69553 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:43818
- https://access.redhat.com/errata/RHSA-2026:69553
- https://access.redhat.com/security/cve/CVE-2026-16517
- https://bugzilla.redhat.com/show_bug.cgi?id=2505492
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.