The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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 dragging .7z files. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-29072 Overview

CVE-2022-29072 is a heap overflow vulnerability affecting 7-Zip through version 21.07 on Windows systems. The vulnerability allows privilege escalation and arbitrary command execution when a specially crafted file with the .7z extension is dragged to the Help>Contents area within the 7-Zip File Manager (7zFM.exe). This is caused by a misconfiguration of 7z.dll combined with a heap overflow condition. When exploited, commands execute in a child process under the 7zFM.exe process.

It should be noted that multiple third parties have disputed the severity of this vulnerability, reporting that no privilege escalation can actually occur in practical scenarios.

Critical Impact

Local attackers with low privileges can potentially achieve code execution and privilege escalation by exploiting the heap overflow in 7-Zip's Help functionality, affecting confidentiality, integrity, and availability of the system.

Affected Products

  • 7-Zip versions through 21.07
  • Microsoft Windows (all versions running affected 7-Zip)
  • Systems with 7-Zip File Manager (7zFM.exe) installed

Discovery Timeline

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

Technical Details for CVE-2022-29072

Vulnerability Analysis

CVE-2022-29072 is classified as CWE-787 (Out-of-bounds Write), specifically manifesting as a heap overflow vulnerability. The flaw exists within the 7-Zip File Manager application and its interaction with the Help system. When a user drags a maliciously crafted .7z file to the Help>Contents area, the application improperly handles the input, leading to a heap buffer overflow condition.

The vulnerability stems from the misconfiguration of 7z.dll, which fails to properly validate input boundaries when processing archive files in the context of the Help system. This allows an attacker to corrupt heap memory, potentially overwriting critical data structures that control program execution flow.

Root Cause

The root cause of this vulnerability is twofold:

  1. Misconfiguration of 7z.dll: The dynamic link library responsible for handling 7-Zip archive operations does not properly sanitize or validate input when invoked through the Help system interface.

  2. Heap Overflow: When processing the malicious .7z file, the application allocates insufficient heap memory or fails to perform proper bounds checking, allowing data to be written beyond the allocated buffer boundaries.

The combination of these factors creates a condition where memory corruption can be triggered through a seemingly innocuous user interaction with the Help menu.

Attack Vector

The attack requires local access to the target system and user interaction. The attack scenario proceeds as follows:

  1. An attacker crafts a malicious .7z archive file designed to trigger the heap overflow
  2. The attacker must convince a user to drag this file to the Help>Contents area in 7-Zip File Manager
  3. When the file is processed, the heap overflow occurs, corrupting memory structures
  4. The corrupted memory can redirect execution flow to attacker-controlled code
  5. Malicious commands execute in a child process spawned by 7zFM.exe

The vulnerability requires local access (the attacker must be able to place a file on the target system) and low privileges. No authentication is required beyond basic system access, but user interaction is needed to trigger the exploit condition.

Detailed proof-of-concept information is available at the GitHub PoC repository and Packet Storm.

Detection Methods for CVE-2022-29072

Indicators of Compromise

  • Unexpected child processes spawned under 7zFM.exe executing suspicious commands
  • Unusual access patterns to the Help system functionality within 7-Zip
  • Process execution chains showing 7zFM.exe as parent process for unexpected executables
  • Heap memory corruption crashes or unexpected termination of 7zFM.exe

Detection Strategies

  • Monitor process creation events where 7zFM.exe is the parent process, particularly looking for command interpreters (cmd.exe, powershell.exe) or unusual executables
  • Implement behavioral analysis to detect anomalous interactions between .7z files and the Help system
  • Deploy endpoint detection rules that alert on heap corruption indicators or access violation exceptions in 7zFM.exe
  • Use application whitelisting to prevent unauthorized child process execution from 7-Zip

Monitoring Recommendations

  • Enable Windows Event Logging for process creation (Event ID 4688) with command line auditing to capture suspicious process chains
  • Configure SentinelOne behavioral AI to detect unusual process hierarchies involving 7zFM.exe
  • Monitor for access to 7z.dll in conjunction with Help system invocations
  • Set up alerts for any crash dumps or access violations originating from 7-Zip components

How to Mitigate CVE-2022-29072

Immediate Actions Required

  • Update 7-Zip to the latest available version beyond 21.07
  • Remove the 7-Zip Help file (7-zip.chm) as a temporary workaround if updating is not immediately possible
  • Educate users not to drag untrusted files to the Help menu area
  • Consider deploying application control policies to restrict 7-Zip's ability to spawn child processes
  • Monitor for exploitation attempts using endpoint detection and response (EDR) solutions

Patch Information

Users should upgrade 7-Zip to a version newer than 21.07 where this issue has been addressed. The vendor bug tracker at SourceForge Bug Report #2337 contains additional information about the fix status.

Organizations should prioritize this update in their patch management cycle, particularly for systems where users regularly handle archive files from untrusted sources.

Workarounds

  • Delete or rename the 7-zip.chm help file located in the 7-Zip installation directory (typically C:\Program Files\7-Zip\7-zip.chm) to prevent the Help system from being accessed
  • Restrict user permissions to prevent modification of files in trusted directories
  • Implement application control policies using SentinelOne or similar solutions to prevent 7zFM.exe from spawning unauthorized child processes
  • Deploy network segmentation to limit the impact of potential local privilege escalation
bash
# Remove the 7-Zip help file as a workaround
del "C:\Program Files\7-Zip\7-zip.chm"

# Alternatively, rename the file to prevent access
ren "C:\Program Files\7-Zip\7-zip.chm" "7-zip.chm.disabled"

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.87%

  • 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 Exploit Report

  • GitHub PoC for CVE-2022-29072

  • Hacker News Discussion Link

  • SourceForge Bug Report #2337

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

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

  • CVE-2025-53817: 7-Zip Compound Handler DoS Vulnerability

  • CVE-2025-53816: 7-Zip RAR5 Handler DOS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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