{"id":"UBUNTU-CVE-2018-1000878","details":"libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.","modified":"2026-04-22T11:39:25.234314Z","published":"2018-12-20T00:00:00Z","related":["USN-3859-1"],"upstream":["CVE-2018-1000878"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000878"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909"},{"type":"REPORT","url":"https://github.com/libarchive/libarchive/pull/1105"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3859-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000878"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-7ubuntu2.7?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.7"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1","3.1.2-7ubuntu2.2","3.1.2-7ubuntu2.3","3.1.2-7ubuntu2.4","3.1.2-7ubuntu2.6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"bsdcpio","binary_version":"3.1.2-7ubuntu2.7"},{"binary_version":"3.1.2-7ubuntu2.7","binary_name":"bsdtar"},{"binary_name":"libarchive13","binary_version":"3.1.2-7ubuntu2.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000878.json"}},{"package":{"name":"libarchive","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-11ubuntu0.16.04.5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.5"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2","3.1.2-11ubuntu0.16.04.3","3.1.2-11ubuntu0.16.04.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"bsdcpio","binary_version":"3.1.2-11ubuntu0.16.04.5"},{"binary_name":"bsdtar","binary_version":"3.1.2-11ubuntu0.16.04.5"},{"binary_name":"libarchive13","binary_version":"3.1.2-11ubuntu0.16.04.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000878.json"}},{"package":{"name":"libarchive","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.2.2-3.1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-3.1ubuntu0.2"}]}],"versions":["3.2.2-3.1","3.2.2-3.1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"bsdcpio","binary_version":"3.2.2-3.1ubuntu0.2"},{"binary_name":"bsdtar","binary_version":"3.2.2-3.1ubuntu0.2"},{"binary_name":"libarchive-tools","binary_version":"3.2.2-3.1ubuntu0.2"},{"binary_name":"libarchive13","binary_version":"3.2.2-3.1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000878.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}