CVE-2026-16517
Public on 2026-07-21
Modified on 2026-07-27
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | cmake3 | Not Affected | ||
| Amazon Linux 2 - Core | cpio | Not Affected | ||
| Amazon Linux 2023 | cpio | Not Affected | ||
| Amazon Linux 2 - Core | libarchive | Not Affected | ||
| Amazon Linux 2023 | libarchive | Pending Fix | ||
| Amazon Linux 2 - Core | tar | Not Affected | ||
| Amazon Linux 2023 | tar | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |