CVE-2022-20540

HighCVSS 7.8/10Last modified Jun 17, 2026

Description

In SurfaceFlinger::doDump of SurfaceFlinger.cpp, there is possible arbitrary code execution due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android ID: A-237291506

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Dec 16, 2022
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-205414.2In phNxpNciHal_ioctl of phNxpNciHal.cc, there is a possible out of bounds read due to a missing bounds check. This could lead to local inforCVE-2022-205427.8In parseParamsBlob of types.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation CVE-2022-205432.3In multiple locations, there is a possible display crash loop due to improper input validation. This could lead to local denial of service wCVE-2022-205444.4In onOptionsItemSelected of ManageApplications.java, there is a possible bypass of profile owner restrictions due to a missing permission chCVE-2022-205457.5In bindArtworkAndColors of MediaControlPanel.java, there is a possible way to crash the phone due to improper input validation. This could lCVE-2022-205466.7In getCurrentConfigImpl of Effect.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalCVE-2022-205477.8In multiple functions of AdapterService.java, there is a possible way to manipulate Bluetooth state due to a missing permission check. This CVE-2022-205487.8In setParameter of EqualizerEffect.cpp, there is a possible out of bounds write due to improper input validation. This could lead to local eCVE-2022-205496.7In authToken2AidlVec of KeyMintUtils.cpp, there is a possible out of bounds write due to an incorrect bounds check. This could lead to localCVE-2022-205507.8In Multiple Locations, there is a possibility to launch arbitrary protected activities due to a confused deputy. This could lead to local esCVE-2022-205516.7In createTrack of AudioFlinger.cpp, there is a possible way to record audio without a privacy indicator due to a logic error in the code. ThCVE-2022-205525.5In btif_a2dp_sink_command_ready of btif_a2dp_sink.cc, there is a possible out of bounds read due to a use after free. This could lead to loc
CVE-2022-20540: High severity, CVSS 7.8 | Vulnix