| Name | CVE-2026-16517 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4762-1 |
| Debian Bugs | 1142834 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libarchive (PTS) | bullseye | 3.4.3-2+deb11u1 | vulnerable |
| bullseye (security) | 3.4.3-2+deb11u5 | fixed | |
| bookworm | 3.6.2-1+deb12u4 | vulnerable | |
| bookworm (security) | 3.6.2-1+deb12u5 | fixed | |
| trixie | 3.7.4-4+deb13u1 | vulnerable | |
| forky, sid | 3.8.9-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libarchive | source | bullseye | 3.4.3-2+deb11u5 | DLA-4762-1 | ||
| libarchive | source | bookworm | 3.6.2-1+deb12u5 | DLA-4762-1 | ||
| libarchive | source | (unstable) | 3.8.9-1 | 1142834 |
[trixie] - libarchive <no-dsa> (Can be fixed via point release)
https://bugzilla.redhat.com/show_bug.cgi?id=2505492
https://github.com/libarchive/libarchive/issues/3225
https://github.com/libarchive/libarchive/pull/3228
Fixed by: https://github.com/libarchive/libarchive/commit/1c6e7b491f60fce335c20a9692f870d1f1ca39aa
Fixed by: https://github.com/libarchive/libarchive/commit/4bb52f4934113059cfa23a2375f3bad9f124ff90 (v3.8.9)