CVE-2022-20140 Memory corruption in Android

Critical 9.8 Published Updated

An out-of-bounds write in the Android Bluetooth stack allows remote attackers to escalate privileges without user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-20140?

CVE-2022-20140 is a critical memory corruption vulnerability in Google Android, published on 15 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In read_multi_rsp of gatt_sr.cc, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-12 Android-12LAndroid ID: A-227618988

Weakness: CWE-787

Which versions are affected by CVE-2022-20140?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20140?

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-2022-20140 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-227618988, ASB-A-227618988, GHSA-p9wg-rw4x-5mjg.

Is CVE-2022-20140 in your software?

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

Check your SBOMs for free