CVE-2021-0335 Use after free in Android

Medium 6.5 Published Updated

A use-after-free vulnerability in the Android HEVC decoder allows remote attackers to disclose information via user interaction.

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-0335?

CVE-2021-0335 is a medium-severity use after free vulnerability in Google Android, published on 10 Feb 2021. 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 process of C2SoftHevcDec.cpp, there is a possible out of bounds write due to a use after free. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-160346309

Weakness: CWE-416

Which versions are affected by CVE-2021-0335?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0335?

Apply the vendor's patch.

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-0335 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-160346309, ASB-A-160346309, GHSA-pfm5-3wch-g359.

Is CVE-2021-0335 in your software?

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

Check your SBOMs for free