{"id":"UBUNTU-CVE-2018-5996","details":"Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","modified":"2025-10-24T04:46:52Z","published":"2018-01-31T18:29:00Z","upstream":["CVE-2018-5996"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-5996"},{"type":"REPORT","url":"https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-5996"}],"affected":[{"package":{"name":"p7zip-rar","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/p7zip-rar@9.20.1~ds.1-4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.20.1~ds.1-3","9.20.1~ds.1-4"],"ecosystem_specific":{"binaries":[{"binary_name":"p7zip-rar","binary_version":"9.20.1~ds.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5996.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"}]}