CVE-2025-20881 Memory corruption in Samsung Mobile Devices

High 7.0 Published Updated

Local attackers can execute arbitrary code with elevated privileges via an out-of-bounds write in the video decoding library, requiring user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-20881?

CVE-2025-20881 is a high-severity memory corruption vulnerability in Samsung Android, published on 4 Feb 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Out-of-bounds write in accessing buffer storing the decoded video frames in libsthmbc.so prior to SMR Jan-2025 Release 1 allows local attackers to execute arbitrary code with privilege. User interaction is required for triggering this vulnerability.

Weakness: CWE-787

Which versions are affected by CVE-2025-20881?

It affects 1 product.

Products include Samsung Android.

How do I fix CVE-2025-20881?

No fix has been published for CVE-2025-20881 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-20881 being exploited?

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

All Samsung Android vulnerabilities

Sources

Also known as GHSA-2vrc-ghfq-ww6x.

Is CVE-2025-20881 in your software?

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

Check your SBOMs for free