Vulnerability database / CVE-2023-40140
CVE-2023-40140
HIGH 7.8 CVSS 3.1 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.
Published 27 Oct 2023
Last modified 17 Jun 2026 Assigned by security@android.com NVD status Modified Weakness
CWE-416 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 3.1
HIGH 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
google
androidcpe:2.3:o:google:android:11.0:*:*:*:*:*:*:*
= 11.0
NVD
google
androidcpe:2.3:o:google:android:12.0:*:*:*:*:*:*:*
= 12.0
NVD
google
androidcpe:2.3:o:google:android:12.1:*:*:*:*:*:*:*
= 12.1
NVD
google
androidcpe:2.3:o:google:android:13.0:*:*:*:*:*:*:*
= 13.0
References
History
25 Nov 2026 20:37 UTC · NVD: first stored (published 27 Oct 2023)