CVE-2021-25371: Arbitrary ELF Library Loading in Samsung DSP Driver
- Vendor
- Samsung Electronics
CVE-2021-25371 is a vulnerability in the DSP driver of Samsung mobile devices prior to the SMR Mar-2021 Release 1. The vulnerability allows attackers to load arbitrary ELF libraries inside the DSP, potentially leading to code execution within the DSP context. The flaw is due to insufficient validation of libraries being loaded by the DSP driver.
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 allows an attacker to load and execute arbitrary code within the DSP environment. This can lead to privilege escalation, persistence, or further compromise of the device, as the DSP has access to sensitive operations and data. The vulnerability is actively exploited in the wild.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the device and avoid installing untrusted applications or granting unnecessary permissions. Monitor for abnormal DSP activity and consider using mobile device management (MDM) solutions to enforce security policies.
Remediation
Patch, then assume compromise.
Upgrade Samsung mobile devices to SMR Mar-2021 Release 1 or later, which addresses the vulnerability by properly validating ELF libraries loaded by the DSP 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-25371 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-25371?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-25371.
- Is there a patch for CVE-2021-25371?
- Upgrade Samsung mobile devices to SMR Mar-2021 Release 1 or later, which addresses the vulnerability by properly validating ELF libraries loaded by the DSP driver.
- What products are affected by CVE-2021-25371?
- Samsung Electronics Android.
- How severe is CVE-2021-25371?
- CVE-2021-25371 has a CVSS v3.1 score of 6.7 (Medium) and an EPSS score of 0.80% (58th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.