vulnerability
7-Zip: CVE-2018-5996: Improper Restriction of Operations within the Bounds of a Memory Buffer
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:M/Au:N/C:P/I:P/A:P) | Jan 31, 2018 | Jul 26, 2024 | Oct 30, 2025 |
Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
Jan 31, 2018
Added
Jul 26, 2024
Modified
Oct 30, 2025
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.
Solution
7-zip-7-zip-upgrade-latest
References
- CWE-119
- CVE-2018-5996
- https://attackerkb.com/topics/CVE-2018-5996
- URL-http://www.securitytracker.com/id/1040831
- URL-https://0patch.blogspot.si/2018/02/two-interesting-micropatches-for-7-zip.html
- URL-https://github.com/p7zip-project/p7zip/issues/32
- URL-https://github.com/p7zip-project/p7zip/issues/8
- URL-https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.