CVEfocus › CVE database › CVE-2026-16517

CVE-2026-16517Libarchive: libarchive: signed integer overflow in archive_write_zip_header

CVSS 2.9 LowEPSS 0.1% (higher than 0% of CVEs)Published 2026-07-21Updated 2026-11-25Assigner: redhat

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.

CWE-190

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

12Fixed
11Fix pending
6Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libarchiveFixed3.8.5-1ubuntu2.3UBUNTU-CVE-2026-16517
Ubuntu 24.04libarchiveFixed3.7.2-2ubuntu0.9UBUNTU-CVE-2026-16517
Ubuntu 22.04libarchiveFixed3.6.0-1ubuntu1.9UBUNTU-CVE-2026-16517
Ubuntu 20.04libarchiveFix pendingUBUNTU-CVE-2026-16517
Ubuntu 18.04libarchiveFix pendingUBUNTU-CVE-2026-16517
Ubuntu 16.04libarchiveFix pendingUBUNTU-CVE-2026-16517
Ubuntu 14.04libarchiveFix pendingUBUNTU-CVE-2026-16517
Debian 14libarchiveFixed3.8.9-1DEBIAN-CVE-2026-16517
Debian 13libarchiveFix pendingDEBIAN-CVE-2026-16517
Debian 12libarchiveFixed3.6.2-1+deb12u5DEBIAN-CVE-2026-16517
Red Hat Enterprise Linux 10bsdtarFixed0:3.7.7-11.el10_2RHSA-2026:69553
Red Hat Enterprise Linux 10libarchiveFixed0:3.7.7-11.el10_2RHSA-2026:69553
Red Hat Enterprise Linux 10libarchive-develFixed0:3.7.7-11.el10_2RHSA-2026:69553
Red Hat Enterprise Linux 9bsdtarNot affected
Red Hat Enterprise Linux 9libarchiveNot affected
Red Hat Enterprise Linux 9libarchive-develNot affected
Red Hat Enterprise Linux 8bsdtarNot affected
Red Hat Enterprise Linux 8libarchiveNot affected
Red Hat Enterprise Linux 8libarchive-develNot affected
Red Hat Enterprise Linux 7bsdcpioFix pending
Fix deferred
Red Hat Enterprise Linux 7bsdtarFix pending
Fix deferred
Red Hat Enterprise Linux 7libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 7libarchive-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 6libarchive-develFix pending
Fix deferred
AlmaLinux 10bsdtarFixed3.7.7-11.el10_2ALSA-2026:69553
AlmaLinux 10libarchiveFixed3.7.7-11.el10_2ALSA-2026:69553
AlmaLinux 10libarchive-develFixed3.7.7-11.el10_2ALSA-2026:69553
Rocky Linux 10libarchiveFixed0:3.7.7-11.el10_2RLSA-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.

Vendor advisories:

References

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.