Skip to content

CVE-2026-16517 Libarchive: libarchive: signed integer overflow in archive_write_zip_header

LowCVSS 2.9 EPSS 0.11%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

18 packages: 9 fixed, 9 with no fix yet.

PackageAffectedFixed inStatus
azure linux libarchive(Azure Linux 3.0) All versions No fix listed No fix yet
debian/libarchive(Debian 13) = 3.7.4-4; = 3.7.4-4+deb13u1; = 3.8.4-1; = 3.8.5-1 +9 more No fix listed No fix yet
redhat openshift All versions No fix listed No fix yet
redhat rhel els All versions No fix listed No fix yet
redhat/libarchive(Red Hat rhel_els 6) All versions No fix listed No fix yet
redhat/libarchive(Red Hat rhel_els 7) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) All versions No fix listed No fix yet
debian/libarchive(Debian 12) < 3.6.2-1+deb12u5; = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2 +2 more 3.6.2-1+deb12u5 Fixed
debian/libarchive(Debian 14) < 3.8.9-1; = 3.7.4-4; = 3.8.4-1; = 3.8.5-1 +4 more 3.8.9-1 Fixed
redhat enterprise linux < 0:3.7.7-11.el10_2; = 8; = 9 0:3.7.7-11.el10_2 Fixed
redhat hummingbird < 3.8.8-3.1.hum1 3.8.8-3.1.hum1 Fixed
redhat/libarchive(Red Hat enterprise_linux 10.2) < 3.7.7-11.el10_2 3.7.7-11.el10_2 Fixed
redhat/libarchive-main(Red Hat hummingbird 1) < 3.8.8-3.1.hum1 3.8.8-3.1.hum1 Fixed
ubuntu/libarchive(Ubuntu 22.04) < 3.6.0-1ubuntu1.9 3.6.0-1ubuntu1.9 Fixed
ubuntu/libarchive(Ubuntu 24.04) < 3.7.2-2ubuntu0.9 3.7.2-2ubuntu0.9 Fixed
ubuntu/libarchive(Ubuntu 26.04) < 3.8.5-1ubuntu2.3 3.8.5-1ubuntu2.3 Fixed

Affected products

ProductAffected versionsFixed in
redhat enterprise linux < 0:3.7.7-11.el10_2 0:3.7.7-11.el10_2
redhat hummingbird < 3.8.8-3.1.hum1 3.8.8-3.1.hum1
redhat rhel els All versions No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat openshift All versions No fix listed
redhat/libarchive(Red Hat:enterprise_linux:10.2) < 3.7.7-11.el10_2 3.7.7-11.el10_2
redhat/libarchive-main(Red Hat:hummingbird:1) < 3.8.8-3.1.hum1 3.8.8-3.1.hum1
redhat/libarchive(Red Hat:rhel_els:6) All versions No fix listed
redhat/libarchive(Red Hat:rhel_els:7) All versions No fix listed
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
debian/libarchive(Debian:12) < 3.6.2-1+deb12u5 3.6.2-1+deb12u5
debian/libarchive(Debian:12) = 3.6.2-1 No fix listed
debian/libarchive(Debian:12) = 3.6.2-1+deb12u1 No fix listed
debian/libarchive(Debian:12) = 3.6.2-1+deb12u2 No fix listed
debian/libarchive(Debian:12) = 3.6.2-1+deb12u3 No fix listed
debian/libarchive(Debian:12) = 3.6.2-1+deb12u4 No fix listed
debian/libarchive(Debian:13) All versions No fix listed
debian/libarchive(Debian:13) = 3.7.4-4 No fix listed
debian/libarchive(Debian:13) = 3.7.4-4+deb13u1 No fix listed
debian/libarchive(Debian:13) = 3.8.10-1 No fix listed
debian/libarchive(Debian:13) = 3.8.10-2 No fix listed
debian/libarchive(Debian:13) = 3.8.11-1 No fix listed
Show 19 more
ProductAffected versionsFixed in
debian/libarchive(Debian:13) = 3.8.4-1 No fix listed
debian/libarchive(Debian:13) = 3.8.5-1 No fix listed
debian/libarchive(Debian:13) = 3.8.6-1 No fix listed
debian/libarchive(Debian:13) = 3.8.7-1 No fix listed
debian/libarchive(Debian:13) = 3.8.8-1 No fix listed
debian/libarchive(Debian:13) = 3.8.8-2 No fix listed
debian/libarchive(Debian:13) = 3.8.9-1 No fix listed
debian/libarchive(Debian:14) < 3.8.9-1 3.8.9-1
debian/libarchive(Debian:14) = 3.7.4-4 No fix listed
debian/libarchive(Debian:14) = 3.8.4-1 No fix listed
debian/libarchive(Debian:14) = 3.8.5-1 No fix listed
debian/libarchive(Debian:14) = 3.8.6-1 No fix listed
debian/libarchive(Debian:14) = 3.8.7-1 No fix listed
debian/libarchive(Debian:14) = 3.8.8-1 No fix listed
debian/libarchive(Debian:14) = 3.8.8-2 No fix listed
ubuntu/libarchive(Ubuntu:22.04) < 3.6.0-1ubuntu1.9 3.6.0-1ubuntu1.9
ubuntu/libarchive(Ubuntu:24.04) < 3.7.2-2ubuntu0.9 3.7.2-2ubuntu0.9
ubuntu/libarchive(Ubuntu:26.04) < 3.8.5-1ubuntu2.3 3.8.5-1ubuntu2.3
azure linux libarchive(Azure Linux:3.0) All versions No fix listed

References