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-2023-21036

CVE-2023-21036: Google Android Image Truncation Vulnerability

CVE-2023-21036 is an image truncation flaw in Google Android's BitmapExport.java caused by a logic error. This vulnerability affects the Android kernel and may lead to data exposure risks. Read about affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2023-21036 Overview

CVE-2023-21036 is a logic error vulnerability in Android's BitmapExport.java component that results in a failure to properly truncate images. This flaw, commonly referred to as "aCropalypse," allows sensitive information from previously cropped or edited images to remain accessible within the image file. When a user crops or edits a screenshot on affected Android devices, the original unedited image data may not be fully removed, potentially exposing private information that the user intended to redact.

Critical Impact

Cropped or edited screenshots on affected Android devices may retain original image data, leading to unintended disclosure of sensitive information such as personal details, financial information, or private communications that users believed they had removed.

Affected Products

  • Google Android (kernel level)
  • Google Pixel devices with Markup tool
  • Android devices using affected image editing components

Discovery Timeline

  • 2023-03-24 - CVE-2023-21036 published to NVD
  • 2025-02-25 - Last updated in NVD database

Technical Details for CVE-2023-21036

Vulnerability Analysis

The vulnerability resides in Android's image processing workflow, specifically within BitmapExport.java. When users crop or edit images using the built-in Markup tool on Pixel devices, the application writes the modified (smaller) image to the same file but fails to truncate the file to the new, smaller size. This improper exception handling (CWE-703) results in the original image data being preserved after the end of the new, cropped image within the same file.

Standard image viewers typically only render data up to the end-of-image marker and ignore trailing data, making the vulnerability invisible to casual observation. However, specialized tools can extract the original, uncropped image data from these files, potentially revealing information the user intended to remove.

Root Cause

The root cause is a logic error in the code where the output stream is opened in a mode that does not truncate the existing file before writing. When the edited image is smaller than the original, the remaining bytes from the original image persist in the file after the new image data ends. The file size remains unchanged despite containing a smaller image, and standard PNG/image parsing stops at the end-of-image marker, leaving the residual data intact but hidden from normal viewing.

Attack Vector

This vulnerability requires local access to exploit. An attacker would need to obtain image files that were previously cropped or edited on an affected Android device. The attack scenario typically involves:

  1. A user captures a screenshot containing sensitive information
  2. The user crops or edits the image to remove sensitive portions using the Markup tool
  3. The user shares the edited image (via messaging, email, social media, etc.)
  4. An attacker retrieves the shared image file
  5. Using image analysis tools, the attacker extracts the original uncropped data from the file's trailing bytes

The vulnerability mechanism involves the Markup tool opening the file without the truncation flag, causing the edited image to overwrite only the beginning portion of the original file while leaving excess bytes from the original image intact.

Detection Methods for CVE-2023-21036

Indicators of Compromise

  • Image files with file sizes larger than expected for their visible dimensions
  • PNG files containing data past the IEND chunk marker
  • Screenshot files edited with Android Markup tool prior to March 2023 security patch
  • Images with inconsistent file size to content ratio

Detection Strategies

  • Compare visible image dimensions against total file size to identify anomalies
  • Parse PNG files to detect data existing beyond the IEND chunk marker
  • Audit image files shared from potentially affected Android devices
  • Use specialized forensic tools designed to detect aCropalypse artifacts

Monitoring Recommendations

  • Implement file integrity monitoring for sensitive image repositories
  • Monitor for unusual file size patterns in image uploads
  • Consider scanning shared images for residual data indicators
  • Review image processing pipelines for proper file truncation handling

How to Mitigate CVE-2023-21036

Immediate Actions Required

  • Update affected Android devices to the March 2023 security patch level or later
  • Re-save any sensitive images that were edited before patching using a trusted image editor
  • Review previously shared cropped images for potential sensitive data exposure
  • Consider using third-party image editing applications that properly handle file truncation

Patch Information

Google addressed this vulnerability in the March 2023 Pixel Security Bulletin. Users should ensure their devices are updated to the latest security patch level. The fix ensures that image files are properly truncated when edits result in a smaller file size, preventing original image data from persisting.

Workarounds

  • Use alternative image editing applications that properly truncate files when saving
  • Convert edited images to a different format (e.g., save as JPEG) to ensure complete rewrite
  • Take new screenshots of already-cropped images to create clean files
  • Use the share function directly from the crop interface rather than saving and sharing separately
  • For sensitive content, verify file sizes match expected dimensions before sharing

For existing affected images, specialized tools are available to strip residual data by re-encoding the visible portion of the image to a new file.

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGoogle Android

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo

  • CWE-703
  • Vendor Resources
  • Android Security Bulletin March 2023
  • Related CVEs
  • CVE-2025-36920: Google Android Privilege Escalation Flaw

  • CVE-2026-0107: Google Android Privilege Escalation Flaw

  • CVE-2026-0108: Google Android Information Disclosure Flaw

  • CVE-2026-0109: Google Android DoS 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