What’s Vulnerable › Vulnerabilities
CVE-2023-40140
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-10-27 · updated 2026-06-17
- Weakness: CWE-416
Description
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.
Affected products
- Android: 11.0, 12.0, 12.1, 13.0
References
- https://android.googlesource.com/platform/frameworks/base/+/2d88a5c481df8986dbba2e02c5bf82f105b36243
- https://source.android.com/security/bulletin/2023-10-01
- https://android.googlesource.com/platform/frameworks/base/+/2d88a5c481df8986dbba2e02c5bf82f105b36243
- https://source.android.com/security/bulletin/2023-10-01
Get alerted when CVE-2023-40140 or the next vulnerability affects your stack