Heap-based buffer overflow in 7-Zip - CVE-2022-29072

 

Heap-based buffer overflow in 7-Zip - CVE-2022-29072

Published: April 19, 2022 / Updated: May 13, 2024


Vulnerability identifier: #VU62367
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2022-29072
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: 7-zip.org
Affected software:
7-Zip

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when a file with .7z extension is dragged to the Help>Contents area. A remote attacker can trick the victim to download and drag a specially crafted file, trigger a heap-based buffer overflow and execute arbitrary code on the target system under the  7zFM.exe process.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2022-29072

Install update from vendor's website.

Sources