{"id":"DEBIAN-CVE-2026-16517","details":"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.","modified":"2026-09-22T08:47:36.394993413Z","published":"2026-07-21T23:17:00.587Z","upstream":["CVE-2026-16517"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-16517"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Debian:12","purl":"pkg:deb/debian/libarchive?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2-1+deb12u5"}]}],"versions":["3.6.2-1","3.6.2-1+deb12u1","3.6.2-1+deb12u2","3.6.2-1+deb12u3","3.6.2-1+deb12u4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16517.json"}},{"package":{"name":"libarchive","ecosystem":"Debian:13","purl":"pkg:deb/debian/libarchive?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.4-4","3.7.4-4+deb13u1","3.8.4-1","3.8.5-1","3.8.6-1","3.8.7-1","3.8.8-1","3.8.8-2","3.8.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16517.json"}},{"package":{"name":"libarchive","ecosystem":"Debian:14","purl":"pkg:deb/debian/libarchive?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.9-1"}]}],"versions":["3.7.4-4","3.8.4-1","3.8.5-1","3.8.6-1","3.8.7-1","3.8.8-1","3.8.8-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16517.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}