Vulnerabilities · 2018 · 7-zip
CVE-2018-5996
7-zip vulnerability
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.
Affected products
7-zip, P7zip, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether 7-zip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ · Exploit
- www.securitytracker.com/id/1040831
- 0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
- github.com/p7zip-project/p7zip/issues/32
- github.com/p7zip-project/p7zip/issues/8
- nvd.nist.gov/vuln/detail/CVE-2018-5996
- cve.org/CVERecord?id=CVE-2018-5996
More vulnerabilities in 7-zip products
CVE-2025-55188CVE-2025-53817CVE-2025-53816CVE-2025-11001CVE-2025-0411CVE-2024-11612CVE-2024-11477CVE-2023-40481All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.