CVE-2021-39804 Null dereference in Android

Medium 6.5 Published Updated

A missing null check in the Android HeifDecoder allows remote attackers to cause a persistent denial of service via the file picker.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-39804?

CVE-2021-39804 is a medium-severity vulnerability in Google Android, published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In reinit of HeifDecoderImpl.cpp, there is a possible crash due to a missing null check. This could lead to remote persistent denial of service in the file picker with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12LAndroid ID: A-215002587

Weakness: CWE-476

Which versions are affected by CVE-2021-39804?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-39804?

Apply the vendor's patch.

Is CVE-2021-39804 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-215002587, ASB-A-215002587, GHSA-w72v-vg94-fwxx.

Is CVE-2021-39804 in your software?

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

Check your SBOMs for free