CVE-2018-5996

Summary

CVECVE-2018-5996
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-01-31 18:29:00 UTC
Updated2019-10-03 00:03:00 UTC
DescriptionInsufficient 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.

Risk And Classification

Problem Types: CWE-119

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application 7-zip 7-zip All All All All
Application 7-zip 7-zip All All All All
Application 7-zip P7zip All All All All
Application 7-zip P7zip All All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All

References

ReferenceSourceLinkTags
7-Zip RAR and ZIP Archive Processing Flaws Let Remote Users Execute Arbitrary Code - SecurityTracker SECTRACK www.securitytracker.com
0patch Blog: Two Interesting Micropatches For 7-Zip (CVE-2017-17969 and CVE-2018-5996) MISC 0patch.blogspot.si
7-Zip: Multiple Memory Corruptions via RAR and ZIP | landave's blog MISC landave.io Exploit, Technical Description, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500508 Alpine Linux Security Update for p7zip
  • 504267 Alpine Linux Security Update for p7zip
  • 690648 Free Berkeley Software Distribution (FreeBSD) Security Update for p7zip-codec-rar (7a2e0063-0e4e-11e8-94c0-5453ed2e2b49)
  • 900090 CBL-Mariner Linux Security Update for p7zip 16.02
  • 901890 Common Base Linux Mariner (CBL-Mariner) Security Update for p7zip (6784-1)
  • 903074 Common Base Linux Mariner (CBL-Mariner) Security Update for p7zip (4256)
  • 905914 Common Base Linux Mariner (CBL-Mariner) Security Update for p7zip (4256-1)
  • 906267 Common Base Linux Mariner (CBL-Mariner) Security Update for p7zip (6784-2)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report