Samsung Galaxy flaws exposed remote image RCE and SystemUI privilege escalation
Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Jun 12, 2026

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


