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: 8.4 [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]
CVE-ID: CVE-2018-5996
CWE-ID: CWE-703
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.

Affected software

7-Zip
openEuler
p7zip
linux-firmware (Alpine package)

How to mitigate CVE-2018-5996

Update to version 18.00.

p7zip - update to 16.02-3
linux-firmware (Alpine package) - update to 20180615-r2

External References

Related Security Bulletins