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.
{
"binaries": [
{
"binary_name": "bsdcpio",
"binary_version": "3.2.2-3.1ubuntu0.7+esm3"
},
{
"binary_name": "bsdtar",
"binary_version": "3.2.2-3.1ubuntu0.7+esm3"
},
{
"binary_name": "libarchive-tools",
"binary_version": "3.2.2-3.1ubuntu0.7+esm3"
},
{
"binary_name": "libarchive13",
"binary_version": "3.2.2-3.1ubuntu0.7+esm3"
}
]
}