CVE-2021-25487 Samsung Mobile Devices Out-of-Bounds Read
A buffer overflow in the modem driver allows attackers to execute arbitrary code on Samsung mobile devices via an out-of-bounds read.
- Exploited in the wild
- Since 29 Jun 2023
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-25487?
CVE-2021-25487 is a high-severity memory corruption vulnerability in Samsung Android, published on 6 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-125
Which versions are affected by CVE-2021-25487?
It affects 1 product.
Products include Samsung Android.
How do I fix CVE-2021-25487?
No fix has been published for CVE-2021-25487 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 20 Jul 2023.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-25487 being exploited?
Yes. Attackers have exploited CVE-2021-25487 in the wild since at least 29 Jun 2023.
Other vulnerabilities in Samsung Android
Sources
Also known as GHSA-4fpw-j345-q48r.