Samsung Android CVE-2025-21051
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInstall malicious app on device
-
DeliveryDeliver crafted JPEG to libpadm.so decoder
-
ExploitTrigger out-of-bounds write in JPEG pre-processing
-
ExecutionCorrupt adjacent process memory
-
ImpactEscalate 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
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
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.
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
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.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB