{"id":"UBUNTU-CVE-2016-1541","details":"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.","modified":"2026-01-30T00:28:04.092772Z","published":"2016-05-07T00:00:00Z","related":["USN-2981-1"],"upstream":["CVE-2016-1541"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-1541"},{"type":"REPORT","url":"http://www.kb.cert.org/vuls/id/862384"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2981-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-1541"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-7ubuntu2.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.2"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"bsdcpio","binary_version":"3.1.2-7ubuntu2.2"},{"binary_name":"bsdtar","binary_version":"3.1.2-7ubuntu2.2"},{"binary_name":"libarchive-dev","binary_version":"3.1.2-7ubuntu2.2"},{"binary_name":"libarchive13","binary_version":"3.1.2-7ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-1541.json"}},{"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":{"availability":"No subscription required","binaries":[{"binary_name":"bsdcpio","binary_version":"3.1.2-11ubuntu0.16.04.1"},{"binary_name":"bsdtar","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-1541.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}