{"id":"CVE-2021-0318","aliases":["CVE-2021-0318"],"related":[],"kind":"vulnerability","state":"published","title":"In appendEventsToCacheLocked of SensorEventConnection.cpp, there is a possible out of bounds write due to a use-after-free.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En la función appendEventsToCacheLocked del archivo SensorEventConnection.cpp, se presenta una posible escritura fuera de límites debido a un uso de la memoria previamente liberada.&#xa0;Esto podría conllevar a una escalada de privilegios local sin ser necesarios privilegios de ejecución adicionales.&#xa0;No es requerida una interacción del usuario para su explotación.&#xa0;Producto: Android;&#xa0;Versiones: Android-9, Android-8.1, Android-10, Android-11;&#xa0;ID de Android: A-168211968","source":"nvd"}],"published":"2021-01-11T21:47:31.000Z","modified":"2026-06-17T03:29:47.007Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-416","CWE-787"],"affected":[{"ranges":[{"version":"Android-9","status":"affected"},{"version":"Android-8.1","status":"affected"},{"version":"Android-10","status":"affected"},{"version":"Android-11","status":"affected"}],"product":"Android","source":"cvelist"},{"ranges":[{"status":"affected","version":"8.1"},{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"google","product":"android","cpe":"cpe:2.3:o:google:android:8.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-01-01","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"google_android","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-0318","url":"https://www.cve.org/CVERecord?id=CVE-2021-0318","licence":"CVE Terms of Use","modified":"2024-08-03T15:32:10.680Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-0318","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0318","licence":"Public domain","modified":"2026-06-17T03:29:47.007Z"}],"updatedAt":"2026-11-25T22:57:59.180Z","epss":{"score":0.00268,"percentile":0.2025,"date":"2026-12-01T12:00:22.000Z"}}