← Vulnerability feed

Vulnerability record · CVE-2021-25487 · published 6 October 2021

CVE-2021-25487: Samsung Android modem driver buffer bounds flaw enables code execution

Samsung · Android

The modem interface driver in Samsung Android fails to bounds-check a buffer in set_skb_priv(), allowing an out-of-bounds read. The read can dereference an invalid function pointer, which the vendor states leads to arbitrary code execution. It was fixed in the SMR Oct-2021 Release 1 update.

7.8 CVSS 3.1 High CISA KEV since 29 Jun 2023 EPSS 0.64% · top 51.7% CWE-125 · Out-of-bounds read
7.8CVSS 3.1 base score, v2 4.6
0.64%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: medium.

high priorityCVSS 7.8 with high confidentiality, integrity and availability impact plus CISA KEV listing outweighs the low EPSS score.

What it is

The modem interface driver in Samsung Android fails to bounds-check a buffer in set_skb_priv(), allowing an out-of-bounds read. The read can dereference an invalid function pointer, which the vendor states leads to arbitrary code execution. It was fixed in the SMR Oct-2021 Release 1 update.

Impact

An attacker who can reach the vulnerable code path gains arbitrary code execution in the modem interface driver context, with high impact to confidentiality, integrity and availability.

Attack surface

The CVSS vector is local (AV:L) with low privileges required (PR:L) and no user interaction (UI:N), so the flaw is reached from code already running on the device rather than over the network. No further detail on the exact entry point is given in the record.

Exploitation

CVE-2021-25487 is listed in CISA KEV (added 2023-06-29), indicating known exploitation, while EPSS is low at roughly 0.6% 30-day probability. No ransomware campaign use is recorded.

What to do

  • Apply the Samsung SMR Oct-2021 Release 1 (or later) firmware update; this is the vendor fix for the flaw.
  • If a device cannot be updated, discontinue use per CISA KEV guidance.
  • Restrict installation and execution of untrusted local apps, since the vector requires local access with low privileges.
  • Track Samsung monthly security maintenance releases for devices still in support and confirm the October 2021 patch level or newer.

Detection

  • Inventory Samsung Android devices and verify build/patch level is SMR Oct-2021 Release 1 or later.
  • Monitor for unexpected crashes or abnormal behavior in modem interface driver processes on affected devices.
  • Watch for local privilege-escalation activity or suspicious apps invoking modem interface functionality outside normal telephony use.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-25487 to the Known Exploited Vulnerabilities catalog on 29 June 2023 as "Samsung Mobile Devices Out-of-Bounds Read Vulnerability". Required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable Federal deadline 20 July 2023.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-25487 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-21042Samsung Android libimagecodec.quram.so out-of-bounds writeAn out-of-bounds write in Samsung's libimagecodec.quram.so image codec library, fixed in the SMR Apr-2025 Release 1, allows remote attackers to execu…KEVEPSS 33%analysed9.8CVE-2025-21043Samsung Android libimagecodec Out-of-Bounds Write RCEAn out-of-bounds write in libimagecodec.quram.so, a Samsung image codec library on Android, allows remote code execution. The flaw is reachable witho…KEVEPSS 2.1%analysed7.1CVE-2021-25337Samsung clipboard service access control flaw exposes local filesSamsung mobile devices before SMR Mar-2021 Release 1 have improper access control in the clipboard service, letting untrusted applications read or wr…KEVEPSS 2.8%analysed6.7CVE-2021-25371Samsung Android DSP driver allows loading arbitrary ELF librariesThe DSP driver in Samsung Android devices before SMR Mar-2021 Release 1 permits loading of arbitrary ELF libraries inside the DSP. This breaks the in…KEVEPSS 0.80%analysed6.7CVE-2021-25372Samsung Android DSP driver improper boundary check allows out-of-bounds memory accessThe Samsung DSP driver in Android contains an improper boundary check that permits out-of-bounds memory access. The flaw is fixed in SMR Mar-2021 Rel…KEVEPSS 0.80%analysed6.4CVE-2021-25395Samsung Android MFC charger driver race condition bypasses signature checkA race condition in the Samsung MFC charger driver, fixed prior to SMR MAY-2021 Release 1, lets a local attacker bypass a signature check. It matters…KEVEPSS 0.37%analysed6.4CVE-2021-25394Samsung Android MFC charger driver use-after-free via race conditionThe MFC charger driver in Samsung Android contains a use-after-free that can be triggered through a race condition. It allows an arbitrary write, but…KEVEPSS 0.40%analysed5.5CVE-2021-25489Samsung Android modem driver format string bug causes kernel panicSamsung Android devices contain a missing input validation flaw in the modem interface driver, resulting in a format string bug. It is listed in CISA…KEVEPSS 0.53%analysed

Source: NIST National Vulnerability Database (record CVE-2021-25487), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.