Samsung Android
CVE-2025-21043
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted image to target device
-
DeliveryImage auto-parsed by Quram codec
-
ExploitTrigger out-of-bounds write (CWE-787)
-
ExecutionCorrupt memory and hijack control flow
-
ImpactExecute arbitrary code in app context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target Samsung device to process an attacker-supplied image through the bundled Quram image codec (libimagecodec.quram.so) on firmware prior to the SMR Sep-2025 Release 1 patch. No authentication, elevated privileges, or user interaction is required (PR:N/UI:N), so delivery paths that auto-decode images (messaging previews, thumbnail generation) enable the attack against default configurations. The principal limiting factors are: the device must be an affected Samsung model still running unpatched firmware (the CPEs enumerate Android 13.0 with SMR levels up through Aug-2025), and the attacker must get the malicious image to reach the vulnerable codec path; code execution occurs in the context of the component invoking the codec rather than automatically as root. |
| Impact | This is a genuine top-priority vulnerability, with multiple independent signals aligning rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes remote, low-complexity exploitation requiring no privileges and no user interaction, and CWE-787 (out-of-bounds write) in an image-parsing library is a classic path to memory corruption and remote code execution. Critically, CISA KEV confirms active exploitation in the wild, which is the single strongest risk signal available and elevates this well above a theoretical high-CVSS issue. The EPSS score of 4.91% is modest in absolute terms but sits at the 90th percentile; the relatively low probability despite confirmed KEV listing is consistent with targeted, likely mobile-surveillance exploitation (common for Quram/image-codec bugs delivered via messaging) rather than mass, automated scanning - EPSS models internet-facing scan-driven exploitation poorly for client-side mobile flaws. No public POC is indicated in the input, so exploitation is currently attacker-held rather than commodity. Net assessment: confirmed in-the-wild exploitation plus an unauthenticated, zero-interaction RCE in a widely deployed mobile platform makes this an immediate patch priority. |
| Exploit ScenarioDerived | An attacker crafts a malicious image file that triggers an out-of-bounds write in the Quram image codec (libimagecodec.quram.so) when it is parsed on a Samsung device. Because the CVSS vector specifies no user interaction and no privileges, delivery via a messaging app that auto-processes image thumbnails could achieve zero-click code execution, consistent with the confirmed in-the-wild exploitation. No public exploit code is identified, suggesting the capability is currently held by a limited set of actors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 07, 2026
Remote code execution in Samsung Android's Quram image codec (libimagecodec.quram.so) allows unauthenticated attackers to execute arbitrary code on affected devices running Android 13.0 with SMR levels prior to Sep-2025 Release 1 by supplying a crafted image. This is confirmed actively exploited (CISA KEV), and exploitation requires no authentication or user interaction, though the malicious image must reach an auto-decoding path such as messaging previews or thumbnail generation; code execution occurs in the context of the invoking component. EPSS is 4.91% (90th percentile), indicating elevated risk, and the CVSS is 9.8.
Earlier versions of this analysis (1)
Another OOB write in Samsung's Quram image codec, separate from CVE-2025-21042, enabling remote code execution through malicious images.
RemediationAI
Apply Samsung's SMR Sep-2025 Release 1 or later firmware update, which is the vendor-released patch for this out-of-bounds write in libimagecodec.quram.so; because the vulnerability is confirmed actively exploited (CISA KEV), prioritize patching affected Samsung Android 13.0 devices, referencing the Samsung advisory at https://security.samsungmobile.com/securityUpdate.smsb?year=2025&month=09 and the KEV entry at https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21043. If immediate patching is not possible, reduce exposure by disabling automatic image previews and thumbnail generation in messaging and gallery applications where settings allow, avoiding the opening of images from untrusted sources, and restricting app installation to trusted stores; these measures lower the chance that a malicious image reaches the vulnerable codec but reduce functionality and are not complete substitutes for the firmware patch.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is an out-of-bounds write (CWE-787) in the bundled Samsung Quram image codec library libimagecodec.quram.so. This native codec processes image data and, when parsing a malformed image, writes beyond allocated memory, corrupting adjacent memory and enabling arbitrary code execution. The CPE data identifies Samsung Android 13.0 with SMR levels ranging from base 13.0 and smr-dec-2021-r1 through smr-aug-2025-r1 as affected, meaning unpatched devices at those SMR levels retain the vulnerable codec. Because the CVSS vector is AV:N/AC:L/PR:N/UI:N, the flaw is remotely triggerable without credentials or user interaction, and any component that automatically decodes images (for example, messaging previews or thumbnail generation) can invoke the codec. The execution context is the component calling the codec rather than automatically root, which is a meaningful limit on impact, but the affected codec is part of Samsung firmware and cannot typically be removed separately.
Know when Android gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Remote-delivered malicious image parsed with no auth or user interaction (AV:N/AC:L/PR:N/UI:N); out-of-bounds write enabling RCE yields full C/I/A impact within an unchanged scope.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Out-of-bounds write in libimagecodec.quram.so prior to SMR Sep-2025 Release 1 allows remote attackers to execute arbitrary code.
Executive ViewAI
Samsung Android devices running version 13.0 with security maintenance releases prior to September 2025 are exposed to a critical remote code execution vulnerability in the Quram image codec, which is confirmed actively exploited (CISA KEV). This flaw can be triggered by a crafted image without user interaction, potentially allowing attackers to execute arbitrary code and compromise affected devices. With no vendor patch available, leadership must act immediately to mitigate risk to organizational data and operations.
Disable automatic image previews and thumbnail generation in messaging and gallery applications; restrict auto-download of images from untrusted sources; enforce least privilege for messaging and gallery apps; monitor for anomalous code execution in those components.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
Adobe Flash Player before 13.0.0.292 and 14.x through 18.x before 18.0.0.160 on Windows and OS X and before 11.2.202.466
Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in A
Android 3.0 through 4.1.x on Disney Mobile, eAccess, KDDI, NTT DOCOMO, SoftBank, and other devices does not properly imp
Integer overflow in the SampleTable::setSampleToChunkParams function in SampleTable.cpp in libstagefright in Android bef
Apktool versions 2.9.1 and prior contain a path traversal vulnerability when processing Android APK files. Malicious APK
An elevation of privilege vulnerability in the Android system (art). Rated high severity (CVSS 7.8), this vulnerability
The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a
Use-after-free vulnerability in Adobe Flash Player before 13.0.0.292 and 14.x through 18.x before 18.0.0.160 on Windows
Use-after-free vulnerability in Adobe Flash Player before 13.0.0.292 and 14.x through 18.x before 18.0.0.160 on Windows
Android 1.6 Donut through 4.2 Jelly Bean does not properly check cryptographic signatures for applications, which allows
luni/src/main/java/java/io/ObjectInputStream.java in the java.io.ObjectInputStream implementation in Android before 5.0.
The Broadcom Wi-Fi driver in the kernel in Android 4.x before 4.4.4, 5.x before 5.1.1 LMY49G, and 6.x before 2016-02-01
NVD
CVE.org
CISA KEV
EPSS
GitHub PoC
Exploit-DB