CVE-2018-5996
published 2018-01-31CVE-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…
PriorityP338high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
2.91%
85.2th percentile
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
27 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 7-zip | 7-zip | < 18.00 | 18.00 |
| 7-zip | p7zip | < 18.0 | 18.0 |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | p7zip-rar | < p7zip-rar 16.02-2 (bookworm) | p7zip-rar 16.02-2 (bookworm) |
| msrc | azl3_p7zip_16.02-23_on_azure_linux_3.0 | — | — |
| msrc | cbl2_p7zip_16.02-22_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_p7zip_16.02-22_on_cbl_mariner_1.0 | — | — |
| msrc | p7zip-16.02-22.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | p7zip-16.02-22.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
| msrc | p7zip-16.02-23.azl3.aarch64.rpm_on_azure_linux_3.0_arm | — | — |
| msrc | p7zip-16.02-23.azl3.x86_64.rpm_on_azure_linux_3.0_x64 | — | — |
| msrc | p7zip-debuginfo-16.02-22.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | p7zip-debuginfo-16.02-22.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
| msrc | p7zip-doc-16.02-22.cm2.noarch.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | p7zip-doc-16.02-22.cm2.noarch.rpm_on_cbl_mariner_2.0_x64 | — | — |
| msrc | p7zip-doc-16.02-23.azl3.noarch.rpm_on_azure_linux_3.0_arm | — | — |
| msrc | p7zip-doc-16.02-23.azl3.noarch.rpm_on_azure_linux_3.0_x64 | — | — |
| msrc | p7zip-plugins-16.02-22.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | p7zip-plugins-16.02-22.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
p7zip: memory corruption in RAR decompression
vendor_redhat·2018-01-23·CVSS 7.8
CVE-2018-5996 [HIGH] CWE-121 p7zip: memory corruption in RAR decompression
p7zip: memory corruption in RAR decompression
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.
Package: p7zip (Red Hat Enterprise Linux 8) - Not affected
Microsoft
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 c
vendor_msrc·2018-01-09·CVSS 7.8
CVE-2018-5996 [HIGH] CWE-119 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 c
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this
Debian
CVE-2018-5996: p7zip-rar - Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code o...
vendor_debian·2018·CVSS 7.8
CVE-2018-5996 [HIGH] CVE-2018-5996: p7zip-rar - Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code o...
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.
Scope: local
bookworm: resolved (fixed in 16.02-2)
bullseye: resolved (fixed in 16.02-2)
trixie: resolved (fixed in 16.02-2)
GHSA
GHSA-2jr3-p4jr-g977: Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18
ghsa_unreviewed·2022-05-13
CVE-2018-5996 [HIGH] CWE-119 GHSA-2jr3-p4jr-g977: Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18
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.
OSV
CVE-2018-5996: Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18
osv·2018-01-31·CVSS 7.8
CVE-2018-5996 [HIGH] CVE-2018-5996: Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18
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.
No detection rules found.
http://www.securitytracker.com/id/1040831https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.htmlhttps://github.com/p7zip-project/p7zip/issues/32https://github.com/p7zip-project/p7zip/issues/8https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/http://www.securitytracker.com/id/1040831https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.htmlhttps://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/
2018-01-31
Published