Skip to main content

Samsung Android CVE-2025-21051

HIGH
Out-of-bounds Write (CWE-787)
2025-10-10 mobile.security@samsung.com
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Install malicious app on device
  2. Delivery
    Deliver crafted JPEG to libpadm.so decoder
  3. Exploit
    Trigger out-of-bounds write in JPEG pre-processing
  4. Execution
    Corrupt adjacent process memory
  5. Impact
    Escalate privileges or execute code

Vulnerability Assessment

Weakness
CWE
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 local access to a Samsung Android device (CVSS AV:L) with at least low privileges (PR:L) - in practice, an attacker-controlled or compromised application able to feed a crafted JPEG into the vulnerable pre-processing routine in libpadm.so. The specific trigger is JPEG decode pre-processing in libpadm.so on builds prior to SMR Oct-2025 Release 1 (Android 13.0 affected per CPE). Limiting factors: there is no network vector, so remote unauthenticated exploitation is not possible; the attacker must already run code or deliver input locally, and devices patched at SMR Oct-2025 R1 or later are not affected. No user interaction is required once the malicious image reaches the decoder (UI:N).

Impact

This is a credible but not emergency-priority local privilege/memory-corruption issue. The CVSS vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 HIGH) indicates a local attack vector requiring low privileges and no user interaction, with full confidentiality, integrity, and availability impact on the affected component - consistent with CWE-787 out-of-bounds write. However, the exploitation-likelihood signals are low: EPSS is only 0.13% (2nd percentile), the CVE is NOT on the CISA KEV list (no confirmed active exploitation), and no public exploit code is identified in the provided data. SSVC-style framing: exploitation status is 'none' (no public exploit identified at time of analysis), the flaw is not automatable (requires local code execution to deliver a crafted JPEG), and technical impact is total for the affected process. The signals are internally consistent - a high-impact-but-locally-gated bug with low real-world exploitation probability - so there is no conflict to flag, but the local-only vector (AV:L) means this is NOT a remotely wormable mass-exploitation risk. It is a legitimate patch item (especially as part of normal Samsung SMR cadence) rather than a drop-everything emergency.

Exploit ScenarioDerived

A malicious or compromised Android application installed on a Samsung device supplies a specially crafted JPEG image that is handed to the vulnerable pre-processing path in libpadm.so. When the library decodes the image, the out-of-bounds write corrupts adjacent memory, which a local attacker can leverage toward memory corruption and potential privilege escalation or code execution in the context of the affected process. No public exploit code is identified at time of analysis, and the attack requires local access with at least low privileges (e.g., an installed app).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

An out-of-bounds write in the JPEG decoding pre-processing routine inside Samsung's proprietary libpadm.so library allows a local attacker holding at least low privileges on an affected Samsung Android 13.0 device to corrupt memory outside the intended buffer, with high confidentiality, integrity, and availability impact if successfully exploited. Exploitation requires local execution - typically a malicious or compromised application that feeds a crafted JPEG into the vulnerable decoder - and no user interaction beyond delivering the image; there is no remote/network vector. At time of analysis there is no public exploit code identified and no confirmed active exploitation; EPSS is 0.13% (2nd percentile), reflecting the local-only attack surface, and the issue is fixed in the SMR Oct-2025 Release 1 security maintenance release.

RemediationAI

Apply the vendor fix by updating affected Samsung Android 13.0 devices to SMR Oct-2025 Release 1 (or any later security maintenance release), which is the patch level that resolves CVE-2025-21051; consult Samsung's October 2025 bulletin at https://security.samsungmobile.com/securityUpdate.smsb?year=2025&month=10 for the device-specific availability matrix and confirm the SMR build string on each handset after updating. Until devices can be patched, the practical compensating controls are constrained because there is no network vector to block: reduce the local attack surface by restricting sideloaded or untrusted application installs (disabling installation from unknown sources, enforcing Google Play Protect and enterprise app allowlists), since exploitation requires an app or local process capable of supplying a crafted JPEG to the decoder, and enforce app sandboxing/permission review so untrusted apps cannot readily invoke privileged decoding paths - noting these measures reduce but do not eliminate the risk and do not correct the underlying memory-safety defect. Because no vendor-released patch substitutes for the SMR update and no public exploit code has been identified, prioritization should be driven by device fleet exposure rather than emergency response, but unpatched devices in high-risk or BYOD environments should be updated as soon as the SMR becomes available for their model.

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 flaw is a classic heap/stack out-of-bounds write (CWE-787) occurring during the pre-processing stage of JPEG decoding implemented in libpadm.so, a Samsung-proprietary shared library shipped as part of the vendor's Android platform rather than in AOSP. Because the defect sits in the image-decoding pipeline, it is reachable whenever an application or service passes a JPEG through the platform's decoding path, meaning any app able to invoke decoding of attacker-supplied image data can act as the trigger. The CWE-787 root cause indicates a missing or incorrect bounds check on a length/index derived from the parsed JPEG structure before data is written, allowing adjacent memory to be overwritten. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) confirms the attack is local, low-complexity, requires low privileges, needs no user interaction, and is scoped to the vulnerable component while yielding high impact across confidentiality, integrity, and availability - consistent with memory-corruption that could be escalated toward code execution in the context of the affected process. The CPE data ties affected builds to Samsung Android 13.0 with a range of SMR levels (Dec-2021 R1 through Aug-2025 R1), all of which predate the SMR Oct-2025 Release 1 fix.

Know when the next one hits your stack

  • 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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local-only JPEG decode path triggered by a low-privileged app (AV:L/PR:L, UI:N), with an out-of-bounds write giving full process C/I/A impact within an unchanged scope.

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

Primary rating from NVD.

CVSS VectorNVD

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

DescriptionNVD

Out-of-bounds write in the pre-processing of JPEG decoding in libpadm.so prior to SMR Oct-2025 Release 1 allows local attackers to write out-of-bounds memory.

Executive ViewAI

Why It Matters

CVE-2025-21051 is a high-severity local memory-corruption flaw in Samsung Android 13.0 devices affecting the proprietary libpadm.so JPEG decoding routine. A malicious or compromised app with low privileges could exploit it to achieve high confidentiality, integrity, and availability impact, but there is no remote vector and no public exploit identified at time of analysis. Leadership should care because enterprise and BYOD Samsung fleets on Android 13.0 may be exposed through untrusted apps, requiring mobile threat defense and patch management prioritization.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; enforce MDM app allowlisting, block sideloading/unknown sources, restrict low-privilege app installs, deploy mobile threat defense, monitor for abnormal libpadm.so crashes, and apply SMR Oct-2025 Release 1 once available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
Samsung Android devices represent a very large share of global smartphone deployment
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

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:*:*:*:*:*:*
+ 87 more

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