Skip to content
OpenAdvisories
Unscored Public exploit CVE-2022-29072 EUVD-2022-33485GHSA-37mw-x654-r2j8

7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is dragged to the Help>…

Published Apr 15, 2022 · Updated Jun 9, 2025 · Assigned by mitre

Description

7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is dragged to the Help>Contents area. This is caused by misconfiguration of 7z.dll and a heap overflow. The command runs in a child process under the 7zFM.exe process. NOTE: multiple third parties have reported that no privilege escalation can occur

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

  • kagancapar/CVE-2022-29072 ★ 670 · Apr 15, 2022

    7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is dragged to the Help>Contents area.

  • sentinelblue/CVE-2022-29072 ★ 8 · Apr 18, 2022

    ** DISPUTED ** 7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is dragged to the Help>Contents area. This is caused by misconfigura…

  • tiktb8/CVE-2022-29072 ★ 6 · Apr 18, 2022

    Powershell to mitigate CVE-2022-29072

  • Phantomiman/7-Zip.chm-Mitigation ★ 3 · Dec 20, 2022

    7-Zip CVE-2022-29072 Mitigation - CHM file - This script detects if the .chm file exists and removes it.

  • rasan2001/CVE-2022-29072 ★ 0 · May 10, 2024

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References