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-2026-48095

CVE-2026-48095: 7-Zip Buffer Overflow Vulnerability

CVE-2026-48095 is a heap buffer overflow flaw in 7-Zip versions 26.00 and prior that enables attackers to execute arbitrary code. This article covers the technical details, affected versions, and mitigation steps.

Published: June 11, 2026

CVE-2026-48095 Overview

CVE-2026-48095 is a heap buffer overflow in 7-Zip versions 26.00 and prior. The flaw resides in the NTFS handler's compressed stream buffer allocation. A crafted NTFS image triggers undefined behavior in a shift operation, causing _inBuf to be allocated as a single byte. The handler then writes up to 256 MB of attacker-controlled data into that buffer, overwriting the adjacent CInStream vtable pointer. The result is a vtable hijack leading to arbitrary code execution. The NTFS handler is enabled by default and matches images via signature, so extension renaming does not prevent processing. Version 26.01 contains the fix.

Critical Impact

Opening or testing a malicious NTFS image in 7-Zip can yield arbitrary code execution through a vtable hijack in the user's context.

Affected Products

  • 7-Zip versions 26.00 and prior (all platforms shipping 7z.dll with the NTFS handler)
  • 32-bit builds reach the overflow unconditionally
  • 64-bit builds are exploitable when the parallel 8 GB _outBuf allocation succeeds

Discovery Timeline

  • 2026-06-05 - CVE-2026-48095 published to NVD
  • 2026-06-08 - Last updated in NVD database

Technical Details for CVE-2026-48095

Vulnerability Analysis

The vulnerability is an integer overflow leading to a heap buffer overflow [CWE-190]. CInStream::GetCuSize() in the NTFS handler computes the compression-unit buffer size with the expression (UInt32)1 << (BlockSizeLog + CompressionUnit). When a crafted image specifies ClusterSizeLog >= 28 and CompressionUnit == 4, the shift exponent reaches 32. Shifting a 32-bit value by 32 bits is undefined behavior in C/C++. On x86 and x64 the result collapses such that _inBuf is allocated as 1 byte. ReadStream_FALSE subsequently writes up to 256 MB of attacker-controlled data in 64 KB iterations into the one-byte allocation.

Root Cause

The shift expression does not validate that BlockSizeLog + CompressionUnit stays within the width of a 32-bit integer. The under-allocation propagates downstream because the read routine does not verify the buffer capacity against the input length.

Attack Vector

An attacker delivers a crafted NTFS image to the victim. Extraction or testing through 7-Zip processes the file because signature-based detection matches the NTFS string at offset 3 regardless of file extension. After the overflow, the CInStream object's vtable pointer sits 304 bytes after _inBuf and is overwritten. The next virtual dispatch transfers control to an attacker-chosen address. User interaction is required to open or test the archive.

No verified public proof-of-concept code is available. Refer to the GitHub Security Advisory GHSL-2026-140 for the technical write-up.

Detection Methods for CVE-2026-48095

Indicators of Compromise

  • NTFS image files containing ClusterSizeLog >= 28 and CompressionUnit == 4 in the boot sector parameters
  • Files matching the NTFS signature at byte offset 3 that are not legitimate filesystem images
  • 7-Zip process crashes or anomalous child processes spawned during archive extraction

Detection Strategies

  • Inspect inbound archives and disk images at the email and web gateway for malformed NTFS boot sector fields
  • Hunt for 7zG.exe, 7zFM.exe, or 7z.exe spawning shells, scripting engines, or network utilities
  • Alert on 7-Zip process termination with access violation exit codes when handling archive content

Monitoring Recommendations

  • Log file open events for .img, .iso, .vhd, and arbitrary extensions processed by 7-Zip binaries
  • Capture parent-child process relationships for any 7-Zip executable across endpoints
  • Track installed 7-Zip versions across the fleet and flag hosts running 26.00 or earlier

How to Mitigate CVE-2026-48095

Immediate Actions Required

  • Upgrade all 7-Zip installations to version 26.01 or later
  • Inventory endpoints, build servers, and forensic workstations for older 7-Zip binaries and 7z.dll redistributions
  • Block delivery of disk image attachments at the email gateway until patching completes

Patch Information

The maintainer addressed the issue in 7-Zip 26.01. The fix validates the shift exponent in CInStream::GetCuSize() before allocating _inBuf. Obtain the release from the official 7-Zip distribution channels and the SourceForge 7-Zip Discussion Thread.

Workarounds

  • Do not open or test untrusted archives and disk images with vulnerable 7-Zip versions
  • Restrict 7-Zip use to a sandboxed account or isolated VM until upgrades are complete
  • Strip or quarantine NTFS-signature files at the perimeter when 7-Zip extraction is not required
bash
# Verify installed 7-Zip version on Windows
reg query "HKLM\SOFTWARE\7-Zip" /v Path
"C:\Program Files\7-Zip\7z.exe" | findstr /C:"7-Zip"

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/Tech7 Zip

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • GitHub Security Advisory GHSL-2026-140

  • SourceForge 7-Zip Discussion Thread
  • Related CVEs
  • CVE-2026-48111: 7-Zip Buffer Overflow Vulnerability

  • CVE-2023-52168: 7-Zip NTFS Handler Buffer Overflow Flaw

  • CVE-2023-31102: 7-Zip Buffer Overflow Vulnerability

  • CVE-2026-48101: 7-Zip Information Disclosure 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