CVE-2021-0558 Memory corruption in Android

Medium 6.5 Published Updated

A heap buffer overflow in the Android MP3 decoder allows remote attackers to disclose sensitive information via crafted media files.

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

CVE-2021-0558 is a medium-severity memory corruption vulnerability in Google Android, published on 22 Jun 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 fillMainDataBuf of pvmp3_framedecoder.cpp, there is a possible out of bounds read due to a heap buffer overflow. 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-173473906

Weakness: CWE-125

Which versions are affected by CVE-2021-0558?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0558?

Apply the vendor's patch.

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

Is CVE-2021-0558 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-173473906, GHSA-3rwx-rphm-m3g7, PUB-A-173473906.

Is CVE-2021-0558 in your software?

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

Check your SBOMs for free