#1142834 libarchive: CVE-2026-16517

Package:
src:libarchive
Source:
src:libarchive
Submitter:
Salvatore Bonaccorso
Date:
2026-07-26 19:55:02 UTC
Severity:
normal
Tags:
#1142834#5
Date:
2026-07-26 19:52:53 UTC
From:
To:
Hi,

The following vulnerability was published for libarchive.

CVE-2026-16517[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-16517
https://www.cve.org/CVERecord?id=CVE-2026-16517
[1] https://github.com/libarchive/libarchive/issues/3225
[2] https://github.com/libarchive/libarchive/pull/3228
[3] https://github.com/libarchive/libarchive/commit/1c6e7b491f60fce335c20a9692f870d1f1ca39aa

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore