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-48303

CVE-2022-48303: GNU Tar Use-After-Free Vulnerability

CVE-2022-48303 is a use-after-free vulnerability in GNU Tar through version 1.34 involving uninitialized memory. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: February 18, 2026

CVE-2022-48303 Overview

GNU Tar through version 1.34 contains a one-byte out-of-bounds read vulnerability that results in the use of uninitialized memory for a conditional jump. The issue occurs in the from_header function within list.c when processing a V7 archive where the mtime field contains approximately 11 whitespace characters. While exploitation to change the flow of control has not been demonstrated, this vulnerability could lead to denial of service conditions through application crashes.

Critical Impact

A local attacker can craft a malicious V7 tar archive that triggers an out-of-bounds read in GNU Tar, potentially causing application crashes and denial of service when a user extracts the archive.

Affected Products

  • GNU Tar through version 1.34
  • Fedora 37
  • Fedora 38

Discovery Timeline

  • 2023-01-30 - CVE CVE-2022-48303 published to NVD
  • 2025-03-27 - Last updated in NVD database

Technical Details for CVE-2022-48303

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-Bounds Read), a memory corruption issue that occurs when GNU Tar processes specially crafted V7 archive headers. The flaw exists in the from_header function located in list.c, which is responsible for parsing archive header information during extraction operations.

When the mtime (modification time) field of a V7 archive header contains approximately 11 whitespace characters, the parsing logic fails to properly validate buffer boundaries. This results in a one-byte out-of-bounds read that accesses uninitialized memory, which is then used in a conditional jump operation. The vulnerability requires local access and user interaction, as a victim must be tricked into extracting a maliciously crafted archive file.

Root Cause

The root cause stems from insufficient bounds checking in the header parsing logic within GNU Tar. The from_header function does not properly validate the length and content of the mtime field when processing V7 archive format headers. When encountering an mtime field padded with excessive whitespace characters, the parser reads beyond the allocated buffer boundary by one byte, accessing uninitialized memory that influences program control flow through conditional jump operations.

Attack Vector

This vulnerability requires local access to the target system. An attacker must craft a malicious V7 format tar archive with a specially constructed mtime field containing approximately 11 whitespace characters. The attack scenario involves distributing this malicious archive to potential victims who would then extract it using a vulnerable version of GNU Tar.

The vulnerability can be triggered through various means:

  • Direct command-line extraction: tar -xvf malicious.tar
  • Automated archive processing scripts
  • Build systems that extract dependencies from tar archives
  • Backup restoration operations

The exploitation complexity is low since no special privileges are required, though user interaction is necessary to initiate the archive extraction process. While the vulnerability has not been demonstrated to achieve arbitrary code execution, it can reliably cause denial of service through application crashes.

Detection Methods for CVE-2022-48303

Indicators of Compromise

  • Unexpected crashes or segmentation faults when extracting tar archives
  • Core dumps generated during tar extraction operations containing references to from_header or list.c
  • V7 format tar archives with abnormally long mtime fields or excessive whitespace in header metadata
  • Suspicious tar archives received from untrusted sources with unusual header structures

Detection Strategies

  • Monitor for GNU Tar process crashes and analyze core dumps for patterns consistent with this vulnerability
  • Implement file integrity monitoring to detect modified tar binaries or unexpected archive processing behavior
  • Deploy endpoint detection rules to identify extraction of V7 format archives from untrusted sources
  • Use static analysis tools to scan incoming tar archives for malformed header fields before extraction

Monitoring Recommendations

  • Enable system logging for tar operations and monitor for abnormal termination signals
  • Configure crash reporting to capture and alert on GNU Tar segmentation faults
  • Implement network monitoring to detect distribution of potentially malicious archive files
  • Monitor build and CI/CD systems for unexpected failures during archive extraction phases

How to Mitigate CVE-2022-48303

Immediate Actions Required

  • Update GNU Tar to a patched version that addresses this vulnerability
  • Review and restrict access to tar archive extraction operations in production environments
  • Validate tar archives from untrusted sources before extraction using archive inspection tools
  • Consider implementing sandboxed extraction for archives from external sources

Patch Information

GNU has released patches to address this vulnerability. The official bug report and patch submission are available through the GNU Savannah project:

  • GNU Bug Report #62387 - Official bug tracking entry
  • GNU Patch Submission #10307 - Security patch details

Fedora has also released updated packages for affected versions. Users of Fedora 37 and Fedora 38 should apply the latest security updates through their package manager using dnf update tar.

Workarounds

  • Avoid extracting tar archives from untrusted or unknown sources until patching is complete
  • Use alternative archive extraction tools that are not affected by this vulnerability when processing untrusted files
  • Implement archive validation and inspection procedures before extraction in automated workflows
  • Consider running tar extraction operations in containerized or sandboxed environments to limit potential impact
bash
# Update GNU Tar on Fedora systems
sudo dnf update tar

# Verify installed tar version
tar --version

# Alternative: Use archive inspection before extraction
file suspicious_archive.tar
tar -tvf suspicious_archive.tar 2>&1 | head -20

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechGnu Tar

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.07%

  • 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
  • CWE-125
  • Technical References
  • Fedora Package Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • GNU Bug Report #62387

  • GNU Patch Submission #10307
  • Related CVEs
  • CVE-2023-39804: GNU Tar DOS Vulnerability in PAX Archive

  • CVE-2025-45582: GNU Tar Path Traversal 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