{"id":"UBUNTU-CVE-2019-18408","details":"archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.","modified":"2026-04-22T13:38:39.909118Z","published":"2019-10-24T14:15:00Z","related":["USN-4169-1"],"upstream":["CVE-2019-18408"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-18408"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14689"},{"type":"REPORT","url":"https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60"},{"type":"REPORT","url":"https://github.com/libarchive/libarchive/compare/v3.3.3...v3.4.0"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4169-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-18408"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-7ubuntu2.8+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.8+esm1"}]}],"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","3.1.2-7ubuntu2.7","3.1.2-7ubuntu2.8"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2-7ubuntu2.8+esm1","binary_name":"bsdcpio"},{"binary_version":"3.1.2-7ubuntu2.8+esm1","binary_name":"bsdtar"},{"binary_version":"3.1.2-7ubuntu2.8+esm1","binary_name":"libarchive13"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18408.json"}},{"package":{"name":"libarchive","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-11ubuntu0.16.04.7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.7"}]}],"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","3.1.2-11ubuntu0.16.04.5","3.1.2-11ubuntu0.16.04.6"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2-11ubuntu0.16.04.7","binary_name":"bsdcpio"},{"binary_version":"3.1.2-11ubuntu0.16.04.7","binary_name":"bsdtar"},{"binary_version":"3.1.2-11ubuntu0.16.04.7","binary_name":"libarchive13"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18408.json"}},{"package":{"name":"libarchive","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.2.2-3.1ubuntu0.5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-3.1ubuntu0.5"}]}],"versions":["3.2.2-3.1","3.2.2-3.1ubuntu0.1","3.2.2-3.1ubuntu0.2","3.2.2-3.1ubuntu0.3","3.2.2-3.1ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.2.2-3.1ubuntu0.5","binary_name":"bsdcpio"},{"binary_version":"3.2.2-3.1ubuntu0.5","binary_name":"bsdtar"},{"binary_version":"3.2.2-3.1ubuntu0.5","binary_name":"libarchive-tools"},{"binary_version":"3.2.2-3.1ubuntu0.5","binary_name":"libarchive13"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18408.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}