{"id":"UBUNTU-CVE-2017-14502","details":"read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header.","modified":"2026-04-22T12:06:28.920170Z","published":"2017-09-17T00:00:00Z","related":["USN-3859-1"],"upstream":["CVE-2017-14502"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-14502"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3859-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-14502"}],"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":{"binaries":[{"binary_name":"bsdcpio","binary_version":"3.1.2-7ubuntu2.7"},{"binary_name":"bsdtar","binary_version":"3.1.2-7ubuntu2.7"},{"binary_name":"libarchive13","binary_version":"3.1.2-7ubuntu2.7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14502.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":{"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"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14502.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":{"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"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-14502.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"negligible"}]}