CVE-2025-20787 Use after free in MediaTek chipset
A use-after-free vulnerability in MediaTek chipsets allows local privilege escalation for attackers with System privileges.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-20787?
CVE-2025-20787 is a medium-severity use after free vulnerability in Google Android, published on 6 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In display, there is a possible memory corruption due to use after free. This could lead to local escalation of privilege if a malicious actor has already obtained the System privilege. User interaction is not needed for exploitation. Patch ID: ALPS10149879; Issue ID: MSV-4658.
Weakness: CWE-416
Which versions are affected by CVE-2025-20787?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2025-20787?
No fix has been published for CVE-2025-20787 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-20787 being exploited?
There is no known exploitation of CVE-2025-20787 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as GHSA-2x5x-v4mj-wc7h.