High severity · published Jan 31, 2018
CVE-2018-5996
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…
7.8
CVSS
2.9%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.9% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
7Z
7-zip · 7-zip
before 18.00 · source: NVD
DL
Debian Linux · Debian
7.0; 8.0; 9.0 · source: NVD
P7
P7zip · 7-zip
before 18.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-5996
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-5996
www.securitytracker.com
http://www.securitytracker.com/id/1040831
0patch.blogspot.si
https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
github.com
https://github.com/p7zip-project/p7zip/issues/32
github.com
https://github.com/p7zip-project/p7zip/issues/8
Exploit
https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/
More from 7-zip
7.0
CVE-2025-0411
7-Zip Mark-of-the-Web Bypass Vulnerability
8.8
CVE-2026-48095
GHSL-2026-140_7-Zip: 7-Zip has a heap buffer overflow via NTFS compressed stream buffer under-allocation
8.8
CVE-2018-10172
7-Zip through 18.01 on Windows implements the "Large memory pages" option by calling the LsaAddAccountRights function to add the SeLockMemoryPrivilege privilege to the user's…
8.8
CVE-2016-2335
The CInArchive::ReadFileItem method in Archive/Udf/UdfIn.cpp in 7zip 9.20 and 15.05 beta and p7zip allows remote attackers to cause a denial of service (out-of-bounds read) or…
8.1
CVE-2026-48092
7-Zip SquashFS Fragment Offset Overflow (GHSL-2026-116)
