Skip to content

CVE-2016-1541 Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-siz...

HighCVSS 8.8 EPSS 10.3%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.

Upgrade path

7 packages: 7 fixed.

PackageAffectedFixed inStatus
alpine/libarchive(Alpine v3.4) < 3.2.0-r0 3.2.0-r0 Fixed
debian/libarchive(Debian 12) < 3.1.2-11.1 3.1.2-11.1 Fixed
debian/libarchive(Debian 13) < 3.1.2-11.1 3.1.2-11.1 Fixed
debian/libarchive(Debian 14) < 3.1.2-11.1 3.1.2-11.1 Fixed
libarchive <= 3.1.901a after 3.1.901a Fixed
ubuntu/libarchive(Ubuntu 14.04) < 3.1.2-7ubuntu2.2; = 3.1.2-5ubuntu1; = 3.1.2-7ubuntu1; = 3.1.2-7ubuntu2 +1 more 3.1.2-7ubuntu2.2 Fixed
ubuntu/libarchive(Ubuntu 16.04) < 3.1.2-11ubuntu0.16.04.1; = 3.1.2-11build1 3.1.2-11ubuntu0.16.04.1 Fixed

Affected products

ProductAffected versionsFixed in
debian/libarchive(Debian:12) < 3.1.2-11.1 3.1.2-11.1
debian/libarchive(Debian:13) < 3.1.2-11.1 3.1.2-11.1
debian/libarchive(Debian:14) < 3.1.2-11.1 3.1.2-11.1
libarchive <= 3.1.901a No fix listed
alpine/libarchive(Alpine:v3.4) < 3.2.0-r0 3.2.0-r0
ubuntu/libarchive(Ubuntu:14.04) < 3.1.2-7ubuntu2.2 3.1.2-7ubuntu2.2
ubuntu/libarchive(Ubuntu:14.04) = 3.1.2-5ubuntu1 No fix listed
ubuntu/libarchive(Ubuntu:14.04) = 3.1.2-7ubuntu1 No fix listed
ubuntu/libarchive(Ubuntu:14.04) = 3.1.2-7ubuntu2 No fix listed
ubuntu/libarchive(Ubuntu:14.04) = 3.1.2-7ubuntu2.1 No fix listed
ubuntu/libarchive(Ubuntu:16.04) < 3.1.2-11ubuntu0.16.04.1 3.1.2-11ubuntu0.16.04.1
ubuntu/libarchive(Ubuntu:16.04) = 3.1.2-11build1 No fix listed

References