{"id":"UBUNTU-CVE-2016-4301","details":"Stack-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.","modified":"2025-07-16T07:49:45.103240Z","published":"2016-09-21T14:25:00Z","withdrawn":"2025-07-18T16:43:30Z","upstream":["CVE-2016-4301"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-4301"},{"type":"REPORT","url":"http://blog.talosintel.com/2016/06/the-poisoned-archives.html"},{"type":"REPORT","url":"http://www.talosintel.com/reports/TALOS-2016-0153/"},{"type":"REPORT","url":"https://github.com/libarchive/libarchive/pull/715"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-4301"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-11ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.1"}]}],"versions":["3.1.2-11build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"bsdcpio"},{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"bsdcpio-dbgsym"},{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"bsdtar"},{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"bsdtar-dbgsym"},{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"libarchive-dev"},{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"libarchive13"},{"binary_version":"3.1.2-11ubuntu0.16.04.1","binary_name":"libarchive13-dbgsym"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-4301.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}