Vulnerability · Published Jul 21, 2026 · Assigned by redhat
CVE-2026-16517Libarchive: libarchive: signed integer overflow in archive_write_zip_header
Low 2.9
In plain English
A low-severity integer overflow in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | bsdtar | 3.7.7-11.el10_2 | ALSA-2026:69553 |
| AlmaLinux:10 | libarchive | 3.7.7-11.el10_2 | ALSA-2026:69553 |
| AlmaLinux:10 | libarchive-devel | 3.7.7-11.el10_2 | ALSA-2026:69553 |
| Debian:12 | libarchive | 3.6.2-1+deb12u5 | DEBIAN-CVE-2026-16517 |
| Debian:13 | libarchive | no fix listed | DEBIAN-CVE-2026-16517 |
| Debian:14 | libarchive | 3.8.9-1 | DEBIAN-CVE-2026-16517 |
| Rocky Linux:10 | libarchive | 0:3.7.7-11.el10_2 | RLSA-2026:69553 |
| Ubuntu:22.04:LTS | libarchive | 3.6.0-1ubuntu1.9 | USN-8902-1 |
| Ubuntu:22.04:LTS | libarchive | 3.6.0-1ubuntu1.9 | UBUNTU-CVE-2026-16517 |
| Ubuntu:24.04:LTS | libarchive | 3.7.2-2ubuntu0.9 | USN-8902-1 |
| Ubuntu:24.04:LTS | libarchive | 3.7.2-2ubuntu0.9 | UBUNTU-CVE-2026-16517 |
| Ubuntu:26.04:LTS | libarchive | 3.8.5-1ubuntu2.3 | UBUNTU-CVE-2026-16517 |
| Ubuntu:26.04:LTS | libarchive | 3.8.5-1ubuntu2.3 | USN-8902-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 5 | see references |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- RHSA-2026:43818 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:69553 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-16517 vdb-entry, x_refsource_REDHAT
- RHBZ#2505492 issue-tracking, x_refsource_REDHAT