CVE-2025-21042
Published: 12 September 2025
Summary
CVE-2025-21042 is a high-severity Out-of-bounds Write (CWE-787) vulnerability in Samsung Android. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked in the top 12.7% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-2 (Flaw Remediation) and RA-5 (Vulnerability Monitoring and Scanning).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
Timely remediation via the SMR Apr-2025 Release 1 patch directly eliminates the out-of-bounds write vulnerability in libimagecodec.quram.so, preventing arbitrary code execution.
Vulnerability scanning identifies unpatched Samsung Android devices affected by CVE-2025-21042, enabling prioritization for flaw remediation.
Memory protection mechanisms like ASLR and non-executable memory hinder exploitation of the out-of-bounds write for reliable remote code execution.
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Out-of-bounds write in client-side image codec library directly enables remote arbitrary code execution on Android devices via malicious content processing (user interaction required).
NVD Description
Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute arbitrary code.
Deeper analysisAI
CVE-2025-21042 is an out-of-bounds write vulnerability (CWE-787) in the libimagecodec.quram.so library prior to SMR Apr-2025 Release 1. This flaw affects Samsung Android devices, as detailed in the Samsung Mobile security bulletin for April 2025.
Remote attackers can exploit this vulnerability to execute arbitrary code. Per the CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), exploitation requires network access and user interaction but no privileges, with high impacts on confidentiality, integrity, and availability.
Samsung's April 2025 security update (SMR Apr-2025 Release 1) patches this vulnerability. It appears in the CISA Known Exploited Vulnerabilities Catalog, urging prompt mitigation by federal agencies.
The vulnerability is associated with Landfall, a new commercial-grade Android spyware, according to Unit42 analysis.
Details
- CWE(s)
- KEV Date Added
- 10 November 2025