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: 7.1 [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]
CVE-ID: CVE-2022-29072
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

7-Zip

How to mitigate CVE-2022-29072

Install update from vendor's website.

7-Zip - update to 22.00

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins