Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-0530

CVE-2022-0530: Unzip Project Unzip RCE Vulnerability

CVE-2022-0530 is a remote code execution flaw in Unzip that exploits heap out-of-bound write during string conversion. Attackers can craft malicious zip files to execute code. Learn about technical details and fixes.

Published: February 17, 2026

CVE-2022-0530 Overview

A heap out-of-bounds write vulnerability has been identified in Unzip, the widely-used archive extraction utility. The flaw occurs during the conversion of a wide string to a local string, causing an out-of-bounds write to heap memory. This vulnerability allows an attacker to craft a specially designed zip file that, when processed by the affected unzip utility, can lead to application crashes or potentially arbitrary code execution.

Critical Impact

Processing a maliciously crafted ZIP file can trigger a heap out-of-bounds write, potentially leading to denial of service through application crashes or code execution on affected systems including Linux distributions and macOS.

Affected Products

  • Unzip Project Unzip 6.0
  • Red Hat Enterprise Linux 8.0
  • Fedora 35
  • Apple macOS and Mac OS X (multiple versions including 10.15.7 with various security updates)
  • Debian Linux 10.0 and 11.0

Discovery Timeline

  • February 9, 2022 - CVE-2022-0530 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-0530

Vulnerability Analysis

The vulnerability resides in the wide string to local string conversion functionality within Unzip. When processing filenames or other string data from ZIP archives, the utility performs character encoding conversion operations. During this conversion process, improper bounds checking allows writes to occur beyond the allocated heap buffer boundaries.

The attack requires local access with user interaction—specifically, a victim must extract a maliciously crafted ZIP archive. While this limits the attack surface compared to network-exploitable vulnerabilities, the ubiquitous nature of ZIP file handling across desktop and server environments makes this a significant concern. The vulnerability primarily impacts system availability through crashes, though code execution scenarios cannot be ruled out depending on heap layout and system configuration.

Root Cause

The root cause is inadequate validation of string lengths and buffer boundaries during wide character to multibyte character conversion. When processing ZIP entries containing specially crafted filenames or metadata with wide character strings, the conversion routine fails to properly calculate the required buffer size, resulting in heap memory corruption beyond allocated boundaries.

Attack Vector

Exploitation requires delivering a malicious ZIP file to a victim and convincing them to extract it using an affected version of unzip. Attack scenarios include:

  1. Email-based delivery of malicious ZIP attachments
  2. Hosting malicious archives on web servers for download
  3. Placing malicious ZIP files on shared network drives or cloud storage
  4. Supply chain attacks through compromised software distribution archives

The vulnerability is triggered during the extraction process when unzip attempts to convert wide character strings (such as Unicode filenames) to local character encoding. The malformed string data causes the heap out-of-bounds write, potentially corrupting adjacent heap metadata or application data structures.

A proof-of-concept demonstrating this vulnerability is available in the GitHub PoC Repository for security research purposes.

Detection Methods for CVE-2022-0530

Indicators of Compromise

  • Unexpected crashes or segmentation faults in the unzip process during archive extraction
  • Core dump files generated by unzip with heap corruption signatures
  • Anomalous ZIP files with unusually long or malformed Unicode filenames in metadata

Detection Strategies

  • Monitor for unzip process crashes and collect crash dumps for analysis
  • Implement file integrity monitoring on systems where unzip is commonly used
  • Deploy endpoint detection rules to identify suspicious ZIP file processing activities
  • Utilize memory protection mechanisms (ASLR, heap guards) to detect exploitation attempts

Monitoring Recommendations

  • Enable process crash logging and alerting for unzip and related archive utilities
  • Monitor for unusual patterns of ZIP file extraction, particularly from untrusted sources
  • Implement sandboxing for archive extraction operations in automated workflows
  • Review system logs for repeated unzip failures that may indicate exploitation attempts

How to Mitigate CVE-2022-0530

Immediate Actions Required

  • Update unzip to the latest patched version available for your distribution
  • Apply vendor security updates from Apple, Red Hat, Debian, or Fedora as applicable
  • Restrict extraction of ZIP files from untrusted sources until patches are applied
  • Consider using alternative archive utilities with security mitigations enabled

Patch Information

Security patches addressing this vulnerability have been released by multiple vendors:

  • Apple: Security updates documented in HT213255, HT213256, and HT213257
  • Debian: DSA-5202 and related LTS announcements
  • Red Hat: Tracked via Bugzilla #2051395
  • Gentoo: GLSA 202310-17

Apply the appropriate patches for your operating system and distribution immediately.

Workarounds

  • Avoid extracting ZIP files from untrusted or unknown sources
  • Use alternative archive utilities (such as 7z or bsdtar) that may not be affected
  • Implement file scanning and validation before processing ZIP archives
  • Run archive extraction in isolated environments or containers with limited privileges
bash
# Check installed unzip version on Linux
unzip -v | head -1

# Update unzip on Debian/Ubuntu systems
sudo apt update && sudo apt install --only-upgrade unzip

# Update unzip on Red Hat/Fedora systems
sudo dnf update unzip

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechUnzip

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-Other
  • Technical References
  • Full Disclosure Post May 33

  • Full Disclosure Post May 35

  • Full Disclosure Post May 38

  • Red Hat Bug Report #2051395

  • GitHub PoC Repository

  • Debian LTS Announcement September 2022

  • Gentoo GLSA 2023-10-17

  • Debian Security Advisory DSA-5202
  • Vendor Resources
  • Apple Support Document HT213255

  • Apple Support Document HT213256

  • Apple Support Document HT213257
  • Related CVEs
  • CVE-2022-0529: Unzip Heap Overflow RCE Vulnerability

  • CVE-2021-4217: Unzip Unicode Handling RCE Vulnerability
Default Legacy - Prefooter | 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