CVE-2022-20156 Code injection in Android

High 7.8 Published Updated

Local attackers can achieve arbitrary code execution and privilege escalation in Android via improper input validation in GraphicBuffer.cpp.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-20156?

CVE-2022-20156 is a high-severity code injection vulnerability in Google Android, published on 15 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In unflatten of GraphicBuffer.cpp, there is a possible arbitrary code execution due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-212803946References: N/A

Weakness: CWE-20

Which versions are affected by CVE-2022-20156?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20156?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-20156 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-212803946, GHSA-crcr-rc6g-f923, PUB-A-212803946.

Is CVE-2022-20156 in your software?

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

Check your SBOMs for free