### [CVE-2021-0318](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0318) ![](https://img.shields.io/static/v1?label=Product&message=Android&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=Android-10%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=Android-11%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=Android-8.1%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=Android-9%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Elevation%20of%20privilege&color=brightgreen) ### Description 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. ### POC #### Reference No PoCs from references. #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/NaInSec/CVE-PoC-in-GitHub - https://github.com/SYRTI/POC_to_review - https://github.com/TinyNiko/android_bulletin_notes - https://github.com/WhooAmii/POC_to_review - https://github.com/k0mi-tg/CVE-POC - https://github.com/manas3c/CVE-POC - https://github.com/nanopathi/frameworks_native_AOSP10_r33_CVE-2021-0318 - https://github.com/nomi-sec/PoC-in-GitHub - https://github.com/trhacknon/Pocingit - https://github.com/whoforget/CVE-POC - https://github.com/youwizard/CVE-POC - https://github.com/zecool/cve