CVE-2021-0318

HighCVSS 7.8/10Last modified Jun 17, 2026

Description

In appendEventsToCacheLocked of SensorEventConnection.cpp, there is a possible out of bounds write 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: Android; Versions: Android-9, Android-8.1, Android-10, Android-11; Android ID: A-168211968.

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
Jan 11, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-03197.3In checkCallerIsSystemOr of CompanionDeviceManagerService.java, there is a possible way to get a nearby Bluetooth device's MAC address withoCVE-2021-03204.7In is_device_locked and set_device_locked of keystore_keymaster_enforcement.h, there is a possible bypass of lockscreen requirements for keyCVE-2021-03215.5In enforceDumpPermissionForPackage of ActivityManagerService.java, there is a possible way to determine if a package is installed due to sidCVE-2021-03225.0In onCreate of SlicePermissionActivity.java, there is a possible misleading string displayed due to improper input validation. This could leCVE-2021-03249.8Product: AndroidVersions: Android SoCAndroid ID: A-175402462CVE-2021-03258.8In ih264d_parse_pslice of ih264d_parse_pslice.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to rCVE-2021-03267.5In p2p_copy_client_info of p2p.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execCVE-2021-03277.8In getContentProviderImpl of ActivityManagerService.java, there is a possible permission bypass due to non-restored binder identities. This CVE-2021-03287.8In onBatchScanReports and deliverBatchScan of GattService.java, there is a possible way to retrieve Bluetooth scan results without permissioCVE-2021-03297.8In several native functions called by AdvertiseManager.java, there is a possible out of bounds write due to a missing bounds check. This couCVE-2021-03307.8In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escaCVE-2021-03317.3In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could
CVE-2021-0318: High severity, CVSS 7.8 | Vulnix