Skip to main content

Samsung Android CVE-2025-21042

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
    Craft malicious image file
  2. Delivery
    Deliver to target device (messaging/media)
  3. Exploit
    Quram codec parses image (zero-click)
  4. Execution
    Trigger out-of-bounds write in libimagecodec.quram.so
  5. Persist
    Execute arbitrary code
  6. Impact
    Deploy LANDFALL spyware for surveillance

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 device to process an attacker-supplied image through Samsung's Quram image codec (libimagecodec.quram.so) on Samsung Android 13 builds prior to SMR Apr-2025 Release 1 - a code path reachable via image handling in messaging/media, enabling zero-click delivery (UI:N). No authentication and no user interaction are required (PR:N/UI:N). The primary limiting factor is patch level: devices updated to SMR Apr-2025 Release 1 or later are not affected, and exploitation observed in the wild has been targeted (LANDFALL commercial spyware) rather than indiscriminate.

Impact

This is a top-tier, act-now priority - the signals are strongly aligned rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.8) describes remote, unauthenticated, low-complexity code execution with no user interaction, and every corroborating signal supports that severity: CISA KEV lists it as confirmed actively exploited in the wild, EPSS is 1.84% (83rd percentile - elevated and consistent with real exploitation, though EPSS models breadth of scanning rather than the targeted nature of this campaign), and the Unit42 reference ties it to LANDFALL, a commercial-grade Android spyware operation. The one nuance worth stating: the EPSS percentile (83%) is high but not extreme, which fits the intelligence picture of targeted spyware deployment (mercenary/commercial surveillance against selected individuals) rather than mass, worm-like exploitation. The out-of-bounds write (CWE-787) is in a native image-decoding library, the classic substrate for zero-click mobile RCE. No signals contradict each other; the only qualifier is that UI:N in the vector reflects true zero-click delivery via image parsing.

Exploit ScenarioDerived

An attacker delivers a malformed image (processed by Samsung's Quram codec, e.g. via a messaging app or media file) to a target's Samsung Android 13 device, triggering an out-of-bounds write in libimagecodec.quram.so during decoding and achieving remote code execution with no user interaction. This has been operationalized in the wild: Unit42 attributes exploitation to the LANDFALL commercial-grade Android spyware, and CISA has added it to the KEV catalog, so working exploit capability demonstrably exists.

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

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

Alert me

AnalysisAIv2 – Sep 30, 2026

Remote code execution in Samsung Android 13's Quram image codec (libimagecodec.quram.so) allows unauthenticated, zero-click attackers to corrupt memory by having the device decode a crafted image, per the CVSS:3.1/AV:N/AC:L/PR:N/UI:N vector scoring 9.8. The flaw is confirmed actively exploited (CISA KEV) and was observed in the wild as part of the LANDFALL commercial-grade Android spyware chain, with EPSS at 1.84% (83rd percentile) - low in absolute terms but elevated in rank, consistent with targeted rather than mass exploitation. Only devices running Samsung Android 13 builds with security patch levels prior to SMR Apr-2025 Release 1 are affected, and exploitation in the wild has been selective, so the primary exposure driver is unpatched devices still receiving/dismissing images through messaging and media pipelines.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:11 CVSS 8.8

An out-of-bounds write in Samsung's Quram image codec enables remote code execution when processing malicious images on Samsung devices.

RemediationAI

Vendor-released patch: SMR Apr-2025 Release 1 - update Samsung Android 13 devices to this security maintenance release (or any later monthly SMR) via Settings > Software update > Download and install, and verify the resulting patch level under Settings > About phone > Software information > Security patch level. Because the fix is delivered only through firmware, there is no app-level or Play Store mitigation; the only true remediation is the April 2025 SMR or newer. Until a device is confirmed updated, apply compensating controls with their trade-offs in mind: disable automatic media download and preview rendering in messaging/email clients (MMS auto-retrieve, WhatsApp/Telegram/RCS auto-download) and require explicit user action before images are decoded, accepting reduced messaging convenience; for high-risk or executive users, restrict image ingestion entirely to vetted sources and avoid opening images from unknown senders, recognizing this is a behavioral control that will not stop a zero-click delivery channel; and for enterprise fleets, use MDM/EMM compliance policies to block, quarantine, or remove network access for devices reporting a security patch level below SMR Apr-2025 Release 1, with the trade-off of reduced productivity for stragglers. Given confirmed active exploitation tracked in CISA KEV and the LANDFALL spyware association (https://unit42.paloaltonetworks.com/landfall-is-new-commercial-grade-android-spyware/), treat patching as urgent and prioritize any device whose image pipeline processes untrusted content; reference https://security.samsungmobile.com/securityUpdate.smsb?year=2025&month=04 for the official fix details. Note that the EPSS score of 1.84% (83rd percentile) does not reflect the severity of targeted exploitation - patch-level gating, not probabilistic exploitation likelihood, should drive prioritization here.

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

libimagecodec.quram.so is a proprietary, closed-source image parsing/decoding library shipped on Samsung Galaxy devices (Quram is the Samsung-affiliated imaging software vendor). It handles decoding of common consumer image formats (e.g., JPEG/PNG/GIF/HEIF and related container parsing) on behalf of camera, gallery, messaging, and media framework components. The root-cause class is CWE-787 (out-of-bounds write): the codec fails to adequately validate attacker-controlled size, offset, or dimension fields in a malformed image, so a heap or buffer write lands beyond the intended allocation, corrupting adjacent memory and enabling control-flow hijack and arbitrary code execution in the codec's process context. Because the decoding path is reachable from ordinary image handling in messaging/media - not a privileged app or an authenticated interface - the CVSS vector resolves to AV:N/AC:L/PR:N/UI:N with high confidentiality, integrity, and availability impact (S:U), matching the assessed vector. The CPE data shows the affected footprint as Samsung Android 13.0 carrying SMR (Security Maintenance Release) levels from smr-dec-2021-r1 through smr-aug-2024-r1, i.e., the vulnerability persisted across many monthly patch baselines until it was fixed in the April 2025 release; the CPE entries also include bare 13.0 without a patch-level qualifier, indicating that any Android 13 Samsung build below the April 2025 SMR baseline is in scope. Unit 42's reporting links exploitation of this codec weakness to LANDFALL, a commercial-grade spyware implant, which is consistent with a targeted, high-value surveillance use case rather than opportunistic scanning, and explains why EPSS remains modest despite the KEV listing.

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

Zero-click remote image parsing yields network vector with no privileges or user interaction, and native-code OOB write gives full code execution (C/I/A:H).

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
Sep 30, 2026 - 23:32 vuln.today
v2 - CVSS changed
Severity Changed
Sep 30, 2026 - 23:23 NVD
HIGH CRITICAL
CVSS changed
Sep 30, 2026 - 23:23 NVD
8.8 (HIGH) 9.8 (CRITICAL)
Added to CISA KEV
Nov 12, 2025 - 14:32 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 Apr-2025 Release 1 allows remote attackers to execute arbitrary code.

Executive ViewAI

Why It Matters

Samsung Android 13 handsets in the fleet are exposed to a critical remote code execution flaw (CVSS 9.8) in the Quram image codec, confirmed actively exploited (CISA KEV) and observed as part of the LANDFALL commercial spyware chain. Exploitation requires no user interaction and no authentication - a single crafted image reaching the device through messaging or media pipelines can corrupt memory and hand an attacker control - so every unpatched Samsung handset is a candidate entry point to corporate email, credentials, and sensitive data. Leadership should treat this as an active, targeted threat to mobile endpoints, not a theoretical one, with exposure concentrated in devices still below security patch level SMR Apr-2025 Release 1.

Business Impact: High
Compensating Controls

No vendor-released patch is identified in the source data; interim mitigations until remediation to SMR Apr-2025 Release 1 or later is achievable are: disable automatic image and media download and preview in SMS/MMS, RCS, and third-party messaging apps; block or quarantine media from unknown senders; remove affected devices from corporate email, VPN, and file-sharing access; enforce MDM compliance gating and conditional access; enable Mobile Threat Defense with LANDFALL-relevant detection and detonation of suspicious images; increase monitoring of mobile endpoints for memory-corruption and spyware indicators; and prioritize replacement or upgrade of any Samsung Android 13 device that cannot reach the reported unaffected security patch level.

Threat Intelligence Overview

EPSS Score
1.8%
Top 17% exploitable
Prevalence
Ubiquitous
Samsung Android is one of the most widely deployed mobile OS distributions globally
Data Quality
5 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 1.8%
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
High

Priority Score

101
Low Medium High Critical
KEV: +50
EPSS: +2
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-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-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:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-jan-2025-r1:*:*:*:*:*:*
cpe:2.3:o:samsung:android:13.0:smr-jul-2022-r1:*:*:*:*:*:*
+ 66 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