CVE-2025-21042 in Samsung Android
Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute arbitrary code.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Samsung | Android | 13.0 14.0 15.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2025-11-10 |
|---|---|
| Public exploit | Not confirmed |
Official description
Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute arbitrary code.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-21042 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-270862-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-09-12 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
CVE-2025-21042 is a critical out-of-bounds write vulnerability in the libimagecodec.quram.so library used by Samsung devices. This vulnerability allows remote attackers to execute arbitrary code, posing significant risks to the integrity and availability of affected systems. Given the high CVSS score and the presence of a public proof of concept, immediate attention is required to mitigate potential exploitation.
The vulnerability can be exploited remotely without any user interaction or authentication. An attacker can send specially crafted input to the affected library, leading to an out-of-bounds write, which can result in arbitrary code execution. This can compromise the system's integrity, confidentiality, and availability.
Compensating controls AI-drafted, review before use
Implement network segmentation to isolate affected systems from untrusted networks. Apply strict access controls and monitor for unusual activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-21042?
CVE-2025-21042 is a critical out-of-bounds write vulnerability in the libimagecodec.quram.so library used by Samsung devices. This vulnerability allows remote attackers to execute arbitrary code, posing significant risks to the integrity and availability of affected systems. Given the high CVSS score and the presence of a public proof of concept, immediate attention is required to mitigate potential exploitation.
What is the CVSS score for CVE-2025-21042?
CVE-2025-21042 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.8%.
Is CVE-2025-21042 actively exploited?
Yes. CVE-2025-21042 is in the CISA known-exploited catalog (added 2025-11-10). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2025-21042?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-21042?
CVE-2025-21042 affects Samsung Android.
What NERC-CIP standard applies to CVE-2025-21042?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to electronic security perimeters, potentially compromising the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2025-21042?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely, leading to loss of control over the system, which is a critical security concern in ICS environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Samsung","product":"Android","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.