Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-methodinitial-access-method

Samsung Galaxy flaws exposed remote image RCE and SystemUI privilege escalation

Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Jun 12, 2026

Samsung Galaxy flaws exposed remote image RCE and SystemUI privilege escalation

Samsung disclosed multiple vulnerabilities affecting Galaxy devices, including remote code execution flaws in the proprietary Quram image codec and a separate improper access control bug in the Routines automation feature. CVE-2025-21042 and CVE-2025-21043 are out-of-bounds write issues in libimagecodec.quram.so that can be triggered by specially crafted images delivered through MMS, email attachments, messaging apps, or web content, potentially with little or no user interaction. Samsung said CVE-2025-21042 was fixed in the April 2025 Security Maintenance Release, while CVE-2025-21043 was addressed in the September 2025 SMR.

The disclosures revive longstanding concerns around Samsung’s proprietary image parsing stack, which Google Project Zero previously showed could be exploited through malformed Qmage images in a zero-click MMS chain that achieved code execution on a Galaxy Note 10+. Samsung also patched CVE-2025-21058, which allowed a local attacker on Android 15 and 16 devices to execute arbitrary code with SystemUI privileges via Galaxy Routines before versions 4.8.7.1 and 4.9.6.0. Separately, Google fixed Android framework flaw CVE-2025-32322 in the September 2025 Android Security Bulletin after it was found to let a malicious app bypass the MediaProjection consent dialog and silently capture screen content on Android 13 and 14.

Why it matters

Impact assessment

Samsung Galaxy devices are affected by multiple high-impact flaws spanning remote code execution, local privilege escalation, and silent screen capture. The most serious exposure is the Quram image codec attack surface, where crafted images can trigger remote code execution through MMS, email, messaging apps, or web content with little or no user interaction, creating broad risk across consumer and enterprise-managed Samsung fleets.

Operational and privacy impact is severe. Successful exploitation of CVE-2025-21042 or CVE-2025-21043 can yield code execution in image-processing contexts, while CVE-2025-21058 can let a local attacker or malicious app cross into SystemUI privilege, and CVE-2025-32322 can silently capture screen content on affected Android devices. The exposure is widespread for unpatched Samsung devices because the vulnerable components are integrated into common system workflows; however, the story does not cite confirmed in-the-wild exploitation for the 2025 CVEs.

Affected populations

  • Samsung Galaxy smartphones, tablets, and related devices using Samsung proprietary Quram image codec components
  • Samsung Galaxy devices running Android 15 with Routines versions earlier than 4.8.7.1
  • Samsung Galaxy devices running Android 16 with Routines versions earlier than 4.9.6.0
  • Android 13 and Android 14 devices affected by framework flaw CVE-2025-32322
  • Consumer users and enterprise mobile fleets, especially BYOD and corporate-managed Samsung deployments

Severity and business risk

  • Remote code execution risk from image parsing can enable device compromise from common communication channels
  • Privilege escalation to SystemUI can expose sensitive resources and system-level controls beyond normal app permissions
  • Silent screen capture can expose credentials, internal communications, MFA prompts, regulated data, and other sensitive on-screen content
  • Potential impacts include privacy loss, credential theft, surveillance, fraud, reputational damage, and mobile fleet incident response costs

Scope and exploitation status

  • Scope is broad because image parsing and Routines are integrated into standard Samsung device functionality
  • CVE-2025-21042 affects firmware prior to April 2025 SMR Release 1
  • CVE-2025-21043 affects devices using the Quram codec prior to September 2025 SMR
  • No public exploit code or confirmed active exploitation is cited for CVE-2025-21042, CVE-2025-21043, CVE-2025-21058, or CVE-2025-32322 in the provided references
  • Historical precedent is strong: Google Project Zero previously demonstrated a zero-click MMS exploit chain against Samsung Qmage/Quram-related image parsing
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Feb 24, 2015 – Oct 9, 2025
  1. Oct 9, 20251y ago

    Samsung discloses and fixes CVE-2025-21058 in Routines

    Samsung disclosed CVE-2025-21058 in October 2025 and fixed the improper access control flaw in Galaxy Routines by adding authorization checks in versions 4.8.7.1 for Android 15 and 4.9.6.0 for Android 16.

    Samsung Routines CVE-2025-21058: Brief Summary of Improper Access Control in Android 15 and 16 - ZeroPath Blog | ZeroPath
  2. Sep 12, 20251y ago

    Samsung patches CVE-2025-21043 in September 2025 SMR

    Samsung addressed CVE-2025-21043, a high-severity out-of-bounds write in the Quram image codec that could enable remote code execution through crafted images delivered by MMS, email, or web content, in its September 2025 Security Maintenance Release.

    Samsung Quram Image Codec CVE-2025-21043 Out-of-Bounds Write: Brief Summary and Technical Review - ZeroPath Blog | ZeroPath
  3. Sep 12, 20251y ago

    Samsung fixes CVE-2025-21042 in April 2025 SMR

    Samsung addressed CVE-2025-21042, an out-of-bounds write in libimagecodec.quram.so that could enable remote code execution via crafted images, in the April 2025 Security Maintenance Release.

    CVE-2025-21042 in Samsung libimagecodec.quram.so: Brief Summary of a Critical Out-of-Bounds Write Vulnerability - ZeroPath Blog | ZeroPath
  4. Sep 5, 20251y ago

    Google fixes MediaProjection bypass in September 2025 bulletin

    Google confirmed CVE-2025-32322 in the September 2025 Android Security Bulletin and fixed the MediaProjection consent-dialog bypass in security patch level 2025-09-05.

    Android MediaProjection Screen Recording Bypass (CVE-2025-32322): Brief Summary and Technical Review - ZeroPath Blog | ZeroPath
  5. Feb 24, 201512y ago

    Samsung patches Qmage vulnerabilities under CVE-2020-8899

    Samsung patched the reported Qmage codec flaws in May 2020, tracking them under CVE-2020-8899 and SVE-2020-16747.

    MMS Exploit Part 1: Introduction to the Samsung Qmage Codec and Remote Attack Surface - Project Zero
  6. Feb 24, 201512y ago

    Project Zero reports multiple Qmage flaws to Samsung

    Mateusz Jurczyk reported numerous memory corruption vulnerabilities in Samsung’s Qmage codec to Samsung in January 2020 after analyzing the proprietary image format and its attack surface.

    MMS Exploit Part 1: Introduction to the Samsung Qmage Codec and Remote Attack Surface - Project Zero
  7. Feb 24, 201512y ago

    Qmage codec integrated into Samsung devices

    Google Project Zero reported that Samsung’s proprietary Qmage image codec had been deeply integrated into Samsung Android devices through the Skia graphics stack since late 2014, creating a broad attack surface for image parsing.

    MMS Exploit Part 1: Introduction to the Samsung Qmage Codec and Remote Attack Surface - Project Zero
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.