# CVE-2022-29072: 7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is dragged to the HelpC…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2022-04-15T19:54:15.000Z
- Modified: 2026-06-17T04:39:32.157Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- 7-zip 7-zip: up to 21.07

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://sourceforge.net/p/sevenzip/bugs/2337/> (exploit, issue-tracking, third-party-advisory)
- <https://www.youtube.com/watch?v=sT1cvbu7ZTA> (exploit, third-party-advisory)
- <https://github.com/kagancapar/CVE-2022-29072> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/166763/7-Zip-21.07-Code-Execution-Privilege-Escalation.html> (exploit, broken-link)
- <https://news.ycombinator.com/item?id=31070256> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2022-29072](https://www.cve.org/CVERecord?id=CVE-2022-29072), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2022-29072](https://nvd.nist.gov/vuln/detail/CVE-2022-29072), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29072 · Whole record: https://cve.day/CVE-2022-29072.json · Rebuilt by cve.day 2026-11-25T22:58:10.777Z
