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


| Updated: 2024-05-13

Vulnerability identifier: #VU62367

Vulnerability risk: Medium

CVSSv4.0: 6.2 [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: Network

Exploit availability: Yes

Vulnerable software:
7-Zip
Client/Desktop applications / Software for archiving

Vendor: 7-zip.org

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

7-Zip: 2.00 Beta 1 - 21.07


External links
https://sourceforge.net/p/sevenzip/bugs/2337/
https://www.youtube.com/watch?v=sT1cvbu7ZTA
https://github.com/kagancapar/CVE-2022-29072
https://news.ycombinator.com/item?id=31070256


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability