CVE-2021-25394 in Samsung Android
A use after free vulnerability via race condition in MFC charger driver prior to SMR MAY-2021 Release 1 allows arbitrary write given a radio privilege is compromised.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, high privileges 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 | 8.1 9.0 10.0 11.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 2023-06-29 |
|---|---|
| Public exploit | Not confirmed |
Official description
A use after free vulnerability via race condition in MFC charger driver prior to SMR MAY-2021 Release 1 allows arbitrary write given a radio privilege is compromised.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-25394 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-252524-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-06-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A use after free vulnerability exists in the MFC charger driver of Samsung devices, which can be exploited via a race condition to perform arbitrary writes if a radio privilege is compromised. This issue affects devices prior to the SMR MAY-2021 Release 1 and has a CVSS score of 6.4, indicating a high impact on confidentiality, integrity, and availability.
The vulnerability arises from a race condition in the MFC charger driver, allowing an attacker with radio privileges to trigger a use after free condition. This can lead to arbitrary memory writes, potentially enabling further exploitation such as code execution or privilege escalation.
Compensating controls AI-drafted, review before use
Implement strict access controls and monitoring for the MFC charger driver to detect and prevent unauthorized access and modifications.
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-2021-25394?
A use after free vulnerability exists in the MFC charger driver of Samsung devices, which can be exploited via a race condition to perform arbitrary writes if a radio privilege is compromised. This issue affects devices prior to the SMR MAY-2021 Release 1 and has a CVSS score of 6.4, indicating a high impact on confidentiality, integrity, and availability.
What is the CVSS score for CVE-2021-25394?
CVE-2021-25394 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2021-25394 actively exploited?
Yes. CVE-2021-25394 is in the CISA known-exploited catalog (added 2023-06-29). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-25394?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2021-25394?
CVE-2021-25394 affects Samsung Android.
What NERC-CIP standard applies to CVE-2021-25394?
NERC CIP CIP-007 CIP-007-R2: This CVE could allow an attacker to compromise the integrity and availability of critical systems, violating the requirement for secure access to electronic security perimeters.
What IEC 62443 requirement maps to CVE-2021-25394?
IEC 62443 SR 7.6: The vulnerability impacts the secure development lifecycle by introducing a race condition that can be exploited, necessitating robust development practices to prevent such issues.
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-06-17.