Skip to main content

Samsung Android CVE-2025-21043

CRITICAL
Out-of-bounds Write (CWE-787)
2025-09-12 mobile.security@samsung.com
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted image to target device
  2. Delivery
    Image auto-parsed by Quram codec
  3. Exploit
    Trigger out-of-bounds write (CWE-787)
  4. Execution
    Corrupt memory and hijack control flow
  5. Impact
    Execute 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.

Emergency Immediate action required. Why: CRITICAL + in CISA KEV (actively exploited), no patch available.
Exploited in the wild (CISA KEV) No patch listed yet 4.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 28, 2026 - 19:11 CVSS 8.8

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 07, 2026 - 21:31 vuln.today
v2 - CVSS changed
Severity Changed
Oct 07, 2026 - 21:23 NVD
HIGH CRITICAL
CVSS changed
Oct 07, 2026 - 21:23 NVD
8.8 (HIGH) 9.8 (CRITICAL)
Added to CISA KEV
Oct 30, 2025 - 15:36 cisa
CISA KEV
CVE Published
Sep 12, 2025 - 08:15 nvd
HIGH 8.8

DescriptionNVD

Out-of-bounds write in libimagecodec.quram.so prior to SMR Sep-2025 Release 1 allows remote attackers to execute arbitrary code.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
4.9%
Top 10% exploitable
Prevalence
High
Samsung is the largest Android OEM; affected firmware is extremely widely deployed
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV Yes
Public POC No
EPSS 4.9%
Patch available No
Active threat Yes
Deciding rule
CRITICAL + in CISA KEV (actively exploited), no patch available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Immediate
Exploitation· derived
Active
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

104
Low Medium High Critical
KEV: +50
EPSS: +5
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:o:samsung:android:13.0:-:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-apr-2022-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-apr-2023-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-apr-2024-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-apr-2025-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-aug-2022-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-aug-2023-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-aug-2024-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-aug-2025-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-dec-2021-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-dec-2022-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-dec-2023-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-dec-2024-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-feb-2022-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-feb-2023-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-feb-2024-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-feb-2025-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-jan-2022-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-jan-2023-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-jan-2024-r1:*:*:*:*:*:*
+ 83 more
CVE-2015-3105 CRITICAL POC
10.0 Jun 10

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

CVE-2015-3864 CRITICAL POC
10.0 Oct 01

Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in A

CVE-2013-4710 CRITICAL POC
9.3 Mar 03

Android 3.0 through 4.1.x on Disney Mobile, eAccess, KDDI, NTT DOCOMO, SoftBank, and other devices does not properly imp

CVE-2015-1538 CRITICAL POC
10.0 Oct 01

Integer overflow in the SampleTable::setSampleToChunkParams function in SampleTable.cpp in libstagefright in Android bef

CVE-2024-21633 HIGH POC
7.8 Jan 03

Apktool versions 2.9.1 and prior contain a path traversal vulnerability when processing Android APK files. Malicious APK

CVE-2017-13156 HIGH POC
7.8 Dec 06

An elevation of privilege vulnerability in the Android system (art). Rated high severity (CVSS 7.8), this vulnerability

CVE-2016-2107 MEDIUM POC
5.9 May 05

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

CVE-2015-3106 CRITICAL POC
10.0 Jun 10

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

CVE-2015-3107 CRITICAL POC
10.0 Jun 10

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

CVE-2013-4787 CRITICAL POC
9.3 Jul 09

Android 1.6 Donut through 4.2 Jelly Bean does not properly check cryptographic signatures for applications, which allows

CVE-2014-7911 HIGH
7.2 Dec 15

luni/src/main/java/java/io/ObjectInputStream.java in the java.io.ObjectInputStream implementation in Android before 5.0.

CVE-2016-0801 CRITICAL POC
9.8 Feb 07

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy