CVE-2016-1541

NameCVE-2016-1541
DescriptionHeap-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3574-1
Debian Bugs823893

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)buster3.3.3-4+deb10u1fixed
buster (security)3.3.3-4+deb10u3fixed
bullseye3.4.3-2+deb11u1fixed
bookworm3.6.2-1fixed
trixie3.7.2-1fixed
sid3.7.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesourceexperimental3.2.0-1
libarchivesourcewheezy(not affected)
libarchivesourcejessie3.1.2-11+deb8u1DSA-3574-1
libarchivesource(unstable)3.1.2-11.1823893

Notes

[wheezy] - libarchive <not-affected> (Vulnerable code not present)
keeping the experimental tracking version as well since maintainer said not to merge NMU changelog
http://www.kb.cert.org/vuls/id/862384
http://www.talosintel.com/reports/TALOS-2016-0155/
https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7 (v3.2.0)
Feature added in https://github.com/libarchive/libarchive/commit/1399a59680fa2dfca68764468ed0bcaa0331fde7

Search for package or bug name: Reporting problems