CVE-2016-4301

NameCVE-2016-4301
DescriptionStack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)jessie, jessie (lts)3.1.2-11+deb8u12fixed
stretch (security)3.2.2-2+deb9u3fixed
stretch (lts), stretch3.2.2-2+deb9u5fixed
buster, buster (lts)3.3.3-4+deb10u4fixed
buster (security)3.3.3-4+deb10u3fixed
bullseye3.4.3-2+deb11u1fixed
bullseye (security)3.4.3-2+deb11u2fixed
bookworm3.6.2-1+deb12u1fixed
bookworm (security)3.6.2-1+deb12u2fixed
sid, trixie3.7.4-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesourcewheezy(not affected)
libarchivesourcejessie(not affected)
libarchivesource(unstable)3.2.1-1

Notes

[jessie] - libarchive <not-affected> (Introduced in 3.2.0)
[wheezy] - libarchive <not-affected> (Introduced in 3.2.0)
http://blog.talosintel.com/2016/06/the-poisoned-archives.html
http://www.talosintel.com/reports/TALOS-2016-0153/
https://github.com/libarchive/libarchive/pull/715
Fixed by: https://github.com/libarchive/libarchive/commit/ecdac4d50db0cf5a0c630ba077729aaa6c5a2dd2

Search for package or bug name: Reporting problems