Libarchive: libarchive: signed integer overflow in archive_write_zip_header
cve-program · CVE-2026-16517
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-16517 · CVE overview and exploitation status
cve-program · CVE-2026-16517
Related changes
Linked by CVE identifier- Libarchive: libarchive: signed integer overflow in archive_write_zip_header · Affected-version evidence changed · 6 Nov 2026
- Libarchive: libarchive: signed integer overflow in archive_write_zip_header · Affected-version evidence changed · 2 Nov 2026