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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3574-1
NVD severitymedium (attack range: remote)
Debian Bugs823893

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)wheezy3.0.4-3+wheezy1fixed
wheezy (security)3.0.4-3+wheezy6+deb7u1fixed
jessie (security), jessie3.1.2-11+deb8u3fixed
stretch3.2.2-2fixed
buster, sid3.2.2-3.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesource(unstable)3.1.2-11.1medium823893
libarchivesourceexperimental3.2.0-1medium
libarchivesourcejessie3.1.2-11+deb8u1mediumDSA-3574-1
libarchivesourcewheezy(not affected)

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