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-2020-8899

CVE-2020-8899: Samsung Android Quram Library RCE Flaw

CVE-2020-8899 is a remote code execution vulnerability in Samsung's Android Quram qmg library affecting OS versions 8.x, 9.0, and 10.0. Attackers can exploit this via MMS without user interaction. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-8899 Overview

CVE-2020-8899 is a critical buffer overwrite vulnerability in the Quram qmg library used by Samsung's Android operating system. This heap-based buffer overflow vulnerability affects Samsung devices running Android O (8.x), P (9.0), and Q (10.0). An unauthenticated attacker can exploit this vulnerability by sending a specially crafted MMS message to a vulnerable Samsung phone, triggering arbitrary remote code execution without any user interaction. The vulnerability is tracked by Samsung under ID SVE-2020-16747.

Critical Impact

Zero-click remote code execution via MMS allows attackers to compromise Samsung Android devices without any user interaction, potentially leading to complete device takeover, data theft, and persistent surveillance capabilities.

Affected Products

  • Samsung Android O (8.0, 8.1)
  • Samsung Android P (9.0)
  • Samsung Android Q (10.0)

Discovery Timeline

  • May 6, 2020 - CVE-2020-8899 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-8899

Vulnerability Analysis

This vulnerability resides in the Quram image codec library, specifically in how it processes QMG image files. The QMG format is a proprietary Samsung image format handled by the Quram library. When parsing malformed QMG image data, the library fails to properly validate input boundaries, leading to a heap-based buffer overflow condition (CWE-122, CWE-787).

The vulnerability is particularly dangerous because the Android messaging framework automatically processes incoming MMS messages, including any embedded images. This means an attacker can trigger the vulnerability simply by sending a malicious MMS to the target device—no user interaction such as opening the message or clicking a link is required. The Quram library processes the malformed image data in the background, leading to memory corruption that can be leveraged for arbitrary code execution.

Root Cause

The root cause is insufficient bounds checking in the Quram qmg image parsing library when handling QMG image dimensions and data. The library allocates a heap buffer based on declared image dimensions but fails to validate that subsequent data operations remain within the allocated buffer boundaries. This allows an attacker to craft a malicious QMG image that declares small dimensions while containing excess data, causing the parser to write beyond the allocated heap buffer.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker exploits this vulnerability by:

  1. Crafting a malicious QMG image file with manipulated header values designed to trigger the buffer overflow
  2. Embedding the malicious image in an MMS message
  3. Sending the MMS to the target Samsung device's phone number
  4. The Android messaging service automatically receives and processes the MMS
  5. The Quram library parses the embedded image, triggering the heap overflow
  6. The attacker gains arbitrary code execution in the context of the messaging process

The zero-click nature of this vulnerability makes it exceptionally dangerous, as victims have no opportunity to avoid the attack. Technical details and proof-of-concept information are available through the Project Zero Issue #2002 and Packet Storm security advisory.

Detection Methods for CVE-2020-8899

Indicators of Compromise

  • Unexpected MMS messages containing QMG image attachments from unknown senders
  • Anomalous messaging service crashes or restarts on Samsung devices
  • Unusual network activity or outbound connections from the messaging process
  • Evidence of code execution or process spawning from the messaging application context

Detection Strategies

  • Monitor MMS gateway logs for unusual QMG image attachments or malformed media content
  • Implement network-level filtering for MMS messages containing suspicious image formats
  • Deploy mobile threat defense solutions capable of analyzing MMS content before delivery
  • Enable Samsung device logging to capture messaging service exceptions and crashes

Monitoring Recommendations

  • Configure SIEM alerts for patterns associated with MMS-based exploitation attempts
  • Monitor Samsung device fleet for messaging service stability issues that could indicate exploitation
  • Track Samsung security bulletin compliance across managed mobile device inventory
  • Establish baseline behavior for messaging processes to detect anomalous activity

How to Mitigate CVE-2020-8899

Immediate Actions Required

  • Apply Samsung security patches immediately to all affected devices running Android 8.x, 9.0, or 10.0
  • Consider temporarily disabling MMS auto-download on unpatched devices until updates can be applied
  • Implement mobile device management (MDM) policies to enforce security update compliance
  • Monitor for suspicious MMS activity targeting organizational Samsung devices

Patch Information

Samsung has released security patches addressing this vulnerability. The official security advisory and patch information is available through the Samsung Mobile Security Update portal. Additional vulnerability coordination details can be found in CERT Vulnerability Report #366027. Organizations should ensure all Samsung devices are updated to the latest firmware version that includes the fix for SVE-2020-16747.

Workarounds

  • Disable MMS auto-retrieve functionality in messaging app settings to require manual download of media
  • Use third-party messaging applications that do not utilize the vulnerable Quram library for image processing
  • Implement carrier-level MMS filtering to block messages containing QMG images from untrusted sources
  • Consider enterprise mobile security solutions that can inspect and quarantine suspicious MMS content
bash
# Android ADB command to check Samsung security patch level
adb shell getprop ro.build.version.security_patch

# Verify device firmware version includes the fix
adb shell getprop ro.build.display.id

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGoogle Android

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability16.34%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-122

  • CWE-787
  • Technical References
  • Packet Storm Remote Code Execution

  • Project Zero Issue #2002

  • CERT Vulnerability Report #366027
  • Vendor Resources
  • Samsung Mobile Security Update
  • Related CVEs
  • CVE-2026-0114: Google Android Modem RCE Vulnerability

  • CVE-2026-0116: Google Android RCE Vulnerability

  • CVE-2026-0120: Google Android Modem RCE Vulnerability

  • CVE-2026-0122: Google Android RCE 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