A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-29072

CVE-2022-29072: 7-Zip Privilege Escalation Vulnerability

CVE-2022-29072 is a privilege escalation vulnerability in 7-Zip through version 21.07 on Windows that allows command execution via drag-and-drop operations. This article covers technical details, affected versions, and mitigations.

Updated: May 14, 2026

CVE-2022-29072 Overview

CVE-2022-29072 affects 7-Zip through version 21.07 on Windows. The vulnerability allows command execution and potential privilege escalation when a file with the .7z extension is dragged to the Help > Contents area of the 7-Zip File Manager. The flaw stems from a misconfiguration of 7z.dll combined with a heap overflow condition. The injected command runs in a child process spawned under 7zFM.exe. Multiple third parties have reported that privilege escalation cannot actually occur, but the command execution component remains valid. The issue is categorized under [CWE-787] Out-of-Bounds Write.

Critical Impact

Local attackers can trigger command execution under the 7-Zip File Manager process by abusing the Help interface, with an EPSS exploit prediction of 18.07% (95th percentile).

Affected Products

  • 7-Zip through version 21.07
  • Microsoft Windows (all supported versions running vulnerable 7-Zip builds)
  • The 7z.dll and 7zFM.exe components specifically

Discovery Timeline

  • 2022-04-15 - CVE-2022-29072 published to the National Vulnerability Database
  • 2025-06-09 - Last updated in NVD database

Technical Details for CVE-2022-29072

Vulnerability Analysis

The vulnerability resides in how the 7-Zip File Manager (7zFM.exe) handles drag-and-drop events targeting the Help > Contents interface. When a .7z file is dragged into this region, the application invokes the Windows Help subsystem with attacker-influenced input. A heap overflow condition combined with the misconfigured loading of 7z.dll allows the file path to be interpreted in a way that spawns a child process. The resulting process inherits the security context of 7zFM.exe, enabling arbitrary command execution on the local system.

Root Cause

The root cause is an out-of-bounds write [CWE-787] triggered by improper validation of input passed to the Help subsystem. 7-Zip relies on the Windows HH.exe (HTML Help) executable for rendering help content. The misconfiguration of 7z.dll permits crafted file names to influence how the help handler resolves and launches child processes. The heap overflow corrupts adjacent memory used to construct the command line forwarded to the child process.

Attack Vector

Exploitation requires local access and user interaction limited to the attacker themselves, who must already be logged on with valid credentials. The attacker prepares a specially crafted file with a .7z extension and drags it into the Help > Contents window of an open 7-Zip File Manager session. The resulting command executes under 7zFM.exe. Although the original advisory claimed privilege escalation, independent analyses dispute this finding and conclude the executed process runs at the same integrity level as the invoking user. The realistic impact is therefore arbitrary command execution rather than elevation to SYSTEM. Refer to the GitHub CVE-2022-29072 Repository and the Packet Storm Code Execution Advisory for the original technical write-ups.

Detection Methods for CVE-2022-29072

Indicators of Compromise

  • Unexpected child processes spawned by 7zFM.exe, particularly cmd.exe, powershell.exe, or HH.exe with unusual command-line arguments
  • Presence of .7z files with embedded path traversal sequences or unusually long names placed in user-writable directories
  • Modification timestamps on 7z.dll that do not match the installed 7-Zip package version

Detection Strategies

  • Monitor process creation events (Windows Event ID 4688 or Sysmon Event ID 1) where the parent process is 7zFM.exe and the child process is a command interpreter or scripting host
  • Hunt for invocations of HH.exe originating from 7-Zip with non-standard .chm or shell arguments
  • Inspect endpoint telemetry for heap corruption indicators in 7zFM.exe, such as access violations followed by child process creation

Monitoring Recommendations

  • Enable Sysmon with rules covering process creation, image loads of 7z.dll, and file creation events for .7z artifacts in temporary directories
  • Forward 7-Zip-related telemetry to a centralized analytics platform for correlation against user logon sessions
  • Alert on any administrative or service account interactively running 7zFM.exe, which is typically a user-mode application

How to Mitigate CVE-2022-29072

Immediate Actions Required

  • Upgrade 7-Zip to version 22.00 or later, which removes the vulnerable Help integration path
  • Restrict installation of 7-Zip on multi-user systems where untrusted users may stage .7z payloads
  • Remove the legacy 7-zip.chm help file from production endpoints if upgrade is delayed

Patch Information

7-Zip versions through 21.07 are vulnerable. The maintainer addressed the Help subsystem behavior in version 22.00. No vendor advisory URL is recorded in the NVD entry; users should obtain the updated installer directly from the official 7-Zip distribution. Track community discussion via the SourceForge 7-Zip Bug Report and the Hacker News Discussion Thread.

Workarounds

  • Delete or rename 7-zip.chm in the 7-Zip installation directory to disable the Help > Contents feature
  • Apply application control policies that prevent 7zFM.exe from spawning command interpreters such as cmd.exe, powershell.exe, and wscript.exe
  • Train users to open archives through right-click context menus rather than the graphical File Manager when handling untrusted files
bash
# Configuration example: remove the help file to neutralize the attack surface
del "C:\Program Files\7-Zip\7-zip.chm"

# Optional: block 7zFM.exe from launching command interpreters via WDAC or AppLocker
# Example AppLocker rule logic (pseudocode)
# Deny: Path=%PROGRAMFILES%\7-Zip\7zFM.exe -> Child: cmd.exe, powershell.exe, hh.exe

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/Tech7 Zip

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability18.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Packet Storm Code Execution Advisory

  • GitHub CVE-2022-29072 Repository

  • Hacker News Discussion Thread

  • SourceForge 7-Zip Bug Report

  • YouTube Exploit Overview Video
  • Related CVEs
  • CVE-2025-11002: 7-Zip Directory Traversal RCE Vulnerability

  • CVE-2025-11001: 7-Zip Directory Traversal RCE Vulnerability

  • CVE-2025-55188: 7-Zip Symbolic Link Handling Vulnerability

  • CVE-2025-53817: 7-Zip Compound Handler DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English