CVE-2025-21006 Memory corruption in libsavsvc.so

High 7.0 Published Updated

Local attackers can exploit an out-of-bounds write in the MPEG4 codec to achieve code execution or privilege escalation on Android devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-21006?

CVE-2025-21006 is a high-severity memory corruption vulnerability in Samsung Android, published on 8 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Out-of-bounds write in handling of macro blocks for MPEG4 codec in libsavsvc.so prior to Android 15 allows local attackers to write out-of-bounds memory.

Weakness: CWE-787

Which versions are affected by CVE-2025-21006?

It affects 1 product.

Products include Samsung Android.

How do I fix CVE-2025-21006?

No fix has been published for CVE-2025-21006 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-21006 being exploited?

There is no known exploitation of CVE-2025-21006 in the wild and no public exploit code.

All Samsung Android vulnerabilities

Sources

Also known as GHSA-4r78-3266-3mj8.

Is CVE-2025-21006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free