CVE-2022-20228 Use after free in Android
A use-after-free vulnerability in Android's C2DmaBufAllocator allows remote attackers to disclose information without additional privileges, requiring 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-2022-20228?
CVE-2022-20228 is a medium-severity use after free vulnerability in Google Android, published on 13 Jul 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 various functions of C2DmaBufAllocator.cpp, there is a possible memory corruption 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-12 Android-12LAndroid ID: A-213850092
Weakness: CWE-416
Which versions are affected by CVE-2022-20228?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2022-20228?
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-2022-20228 being exploited?
There is no known exploitation of CVE-2022-20228 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as A-213850092, ASB-A-213850092, GHSA-jjqr-rxfx-r766.