Fedora Account System
Red Hat Associate
Red Hat Customer
A signed integer overflow flaw was found in libarchive's ZIP writer. The issue occurs in the archive_write_zip_header function in archive_write_set_format_zip.c when writing a ZIP entry with a known file size while ZIP encryption (e.g., AES-256) is enabled. When the entry size is close to INT64_MAX, adding the encryption overhead (additional_size) to zip->entry_uncompressed_size triggers a signed integer overflow, leading to undefined behavior per the C standard. This could result in incorrect Zip64 extension decisions or potential memory corruption. The vulnerability is in the write path only and requires both ZIP encryption to be enabled and a file size near INT64_MAX, making real-world exploitation unlikely. Upstream issue: https://github.com/libarchive/libarchive/issues/3225 Upstream fix: https://github.com/libarchive/libarchive/pull/3228
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:69553 https://access.redhat.com/errata/RHSA-2026:69553