Affected versions
Ubuntu22.04:LTS/libarchive
- Affected versions
- <3.6.0-1ubuntu1.9
- Fixed version
- 3.6.0-1ubuntu1.9
Ubuntu24.04:LTS/libarchive
- Affected versions
- <3.7.2-2ubuntu0.9
- Fixed version
- 3.7.2-2ubuntu0.9
Ubuntu26.04:LTS/libarchive
- Affected versions
- <3.8.5-1ubuntu2.3
- Fixed version
- 3.8.5-1ubuntu2.3
UbuntuPro:14.04:LTS/libarchive
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/libarchive
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/libarchive
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/libarchive
- Affected versions
- *
- Fixed version
- Not reported
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.

