CVE-2023-40140
HIGHAndroid - Use-After-Free in android_view_InputDevice_create
Title source: llmDescription
In android_view_InputDevice_create of android_view_InputDevice.cpp, there is a possible way to execute arbitrary code 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.
References (2)
Core 2
Core References
Patch
https://android.googlesource.com/platform/frameworks/base/+/2d88a5c481df8986dbba2e02c5bf82f105b36243
Vendor Advisory
https://source.android.com/security/bulletin/2023-10-01
Scores
CVSS v3
7.8
EPSS
0.0021
EPSS Percentile
10.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-416
Status
published
Products (4)
google/android
11.0
google/android
12.0
google/android
12.1
google/android
13.0
Published
Oct 27, 2023
Tracked Since
Feb 18, 2026