CVE-2021-25487 in Samsung Android
Lack of boundary checking of a buffer in set_skb_priv() of modem interface driver prior to SMR Oct-2021 Release 1 allows OOB read and it results in arbitrary code execution by dereference of invalid function pointer.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low 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
Lack of boundary checking of a buffer in set_skb_priv() of modem interface driver prior to SMR Oct-2021 Release 1 allows OOB read and it results in arbitrary code execution by dereference of invalid function pointer.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-25487 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-267174-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-10-06 |
| Last modified | 2025-10-30 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-25487 is a vulnerability in the set_skb_priv() function of the modem interface driver in Samsung devices, which can lead to out-of-bounds read and arbitrary code execution due to lack of boundary checking. This issue affects systems prior to the SMR Oct-2021 Release 1 and has a CVSS score of 7.8, indicating high severity. The vulnerability is listed in the KEV catalog but does not have a public proof of concept or known exploits. The EPSS score suggests a low likelihood of exploitation in the wild.
The vulnerability arises from the lack of boundary checking in the set_skb_priv() function of the modem interface driver. An attacker with local access can exploit this issue to perform an out-of-bounds read, potentially leading to arbitrary code execution by dereferencing an invalid function pointer. This could result in unauthorized control of the affected system.
Compensating controls AI-drafted, review before use
Implement strict input validation and boundary checks on all data processed by the modem interface driver. Ensure that all function pointers are validated before use.
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-25487?
CVE-2021-25487 is a vulnerability in the set_skb_priv() function of the modem interface driver in Samsung devices, which can lead to out-of-bounds read and arbitrary code execution due to lack of boundary checking. This issue affects systems prior to the SMR Oct-2021 Release 1 and has a CVSS score of 7.8, indicating high severity. The vulnerability is listed in the KEV catalog but does not have a public proof of concept or known exploits. The EPSS score suggests a low likelihood of exploitation
What is the CVSS score for CVE-2021-25487?
CVE-2021-25487 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2021-25487 actively exploited?
Yes. CVE-2021-25487 is in the CISA known-exploited catalog (added 2023-06-29). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-25487?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2021-25487?
CVE-2021-25487 affects Samsung Android.
What NERC-CIP standard applies to CVE-2021-25487?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it involves a lack of proper input validation and boundary checking, which can lead to unauthorized control of the system, compromising the integrity and availability of critical infrastructure.
What IEC 62443 requirement maps to CVE-2021-25487?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a lack of input validation and boundary checking, which can lead to arbitrary code execution and compromise the security of the system, violating the principles of secure software development.
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 2025-10-30.