CVE-2023-40140
highpriority · track · 31EPSS 0.002 · 13 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2539Samsung Android: Mehrere SchwachstellenDeutsch2023-10-03csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Samsung Android ausnutzen, um beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen und seine Rechte zu erweitern.
- WID-SEC-W-2023-2548Google Android: Mehrere SchwachstellenDeutsch2023-10-03csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Google Android ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode auszuführen, Informationen offenzulegen oder einen Denial of Service Zustand herbeizuführen.
- ASB-A-2740580822023-10-01vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://android.googlesource.com/platform/frameworks/base/+/2d88a5c481df8986dbba2e02c5bf82f105b36243cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-40140/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-40140cnnvd
- https://source.android.com/security/bulletin/2023-10-01cnnvd
- https://vigilance.fr/vulnerability/Google-Android-Pixel-multiple-vulnerabilities-of-October-2023-42432cnnvd
- https://android.googlesource.com/platform/frameworks/base/+/2d88a5c481df8986dbba2e02c5bf82f105b36243enisa_euvd
- https://source.android.com/security/bulletin/2023-10-01enisa_euvd
- https://android.googlesource.com/platform/frameworks/base/+/2d88a5c481df8986dbba2e02c5bf82f105b36243Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan