### [CVE-2024-40658](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-40658) ![](https://img.shields.io/static/v1?label=Product&message=Android&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=12%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=12L%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=12l%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=13%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=14%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Elevation%20of%20privilege&color=brightgreen) ### Description In getConfig of SoftVideoDecoderOMXComponent.cpp, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. ### POC #### Reference No PoCs from references. #### Github - https://github.com/fkie-cad/nvd-json-data-feeds - https://github.com/nidhihcl75/frameworks_av_AOSP10_r33_CVE-2024-40658 - https://github.com/nomi-sec/PoC-in-GitHub