CVE-2021-25487: OOB Read and Arbitrary Code Execution in Samsung Modem Interface Driver (set_skb_priv)
- Vendor
- Samsung Electronics
CVE-2021-25487 is a vulnerability in the modem interface driver of Samsung mobile devices, specifically in the set_skb_priv() function. The vulnerability is due to a lack of boundary checking on a buffer, which allows an out-of-bounds (OOB) read. This can result in the dereference of an invalid function pointer, potentially leading to arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code in the context of the modem interface driver, which could compromise the integrity and confidentiality of the device. The vulnerability is actively exploited in the wild, increasing the risk to affected devices.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the modem interface and monitor for suspicious activity. However, full mitigation requires applying the official Samsung security update.
Remediation
Patch, then assume compromise.
Apply the security updates provided by Samsung in the SMR Oct-2021 Release 1 or later, which address the lack of boundary checking in the set_skb_priv() function of the modem interface driver.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-25487 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 29, 2023.
- Is there a public exploit for CVE-2021-25487?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-25487.
- Is there a patch for CVE-2021-25487?
- Apply the security updates provided by Samsung in the SMR Oct-2021 Release 1 or later, which address the lack of boundary checking in the set_skb_priv() function of the modem interface driver.
- What products are affected by CVE-2021-25487?
- Samsung Electronics Android.
- How severe is CVE-2021-25487?
- CVE-2021-25487 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.64% (51st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.