CVE-2021-25394 Samsung Mobile Devices Race Condition

Exploited in the wild Medium 6.4 Published Updated

A race condition in the MFC charger driver allows arbitrary writes, potentially leading to code execution or privilege escalation on Samsung mobile devices.

Exploited in the wild
Since 29 Jun 2023
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-25394?

CVE-2021-25394 is a medium-severity use after free vulnerability in Samsung Android, published on 11 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use after free vulnerability via race condition in MFC charger driver prior to SMR MAY-2021 Release 1 allows arbitrary write given a radio privilege is compromised.

Weakness: CWE-362, CWE-416

Which versions are affected by CVE-2021-25394?

It affects 1 product.

Products include Samsung Android.

How do I fix CVE-2021-25394?

No fix has been published for CVE-2021-25394 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. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-25394 being exploited?

Yes. Attackers have exploited CVE-2021-25394 in the wild since at least 29 Jun 2023.

All Samsung Android vulnerabilities

Sources

Also known as GHSA-v32f-c32x-pgfp.

Is CVE-2021-25394 in your software?

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

Check your SBOMs for free