Improper check or handling of exceptional conditions in 7-Zip - CVE-2018-5996

 

Improper check or handling of exceptional conditions in 7-Zip - CVE-2018-5996

Published: May 18, 2018


Vulnerability identifier: #VU12820
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-5996
CWE-ID: CWE-703
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: 7-zip.org
Affected software:
7-Zip

Detailed vulnerability description

The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.

The weakness exists in the method NCompress::NRar3::CDecoder::Code due to insufficient exception handling. A remote attacker can trickt eh victim into opening a specially crafted RAR file, trigger multiple memory corruptions within the PPMd code and cause the service to crash or execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2018-5996

Update to version 18.00.

Sources