{"id":"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":"2026-03-12T22:56:06.150176Z","published":"2018-01-31T18:29:00.363Z","related":["SUSE-SU-2018:0464-1"],"references":[{"type":"WEB","url":"http://www.securitytracker.com/id/1040831"},{"type":"REPORT","url":"https://github.com/p7zip-project/p7zip/issues/32"},{"type":"REPORT","url":"https://github.com/p7zip-project/p7zip/issues/8"},{"type":"ARTICLE","url":"https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html"},{"type":"EVIDENCE","url":"https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"18.00"}]},{"events":[{"introduced":"0"},{"fixed":"18.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"7-Zip"},{"fixed":"18.00"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-5996.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}