### [CVE-2019-5018](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5018) ![](https://img.shields.io/static/v1?label=Product&message=Sqlite3&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-416%3A%20Use%20After%20Free&color=brighgreen) ### Description An exploitable use after free vulnerability exists in the window function functionality of Sqlite3 3.26.0. A specially crafted SQL command can cause a use after free vulnerability, potentially resulting in remote code execution. An attacker can send a malicious SQL command to trigger this vulnerability. ### POC #### Reference - http://packetstormsecurity.com/files/152809/Sqlite3-Window-Function-Remote-Code-Execution.html - https://talosintelligence.com/vulnerability_reports/TALOS-2019-0777 #### Github - https://github.com/alphaSeclab/sec-daily-2019 - https://github.com/fredrkl/trivy-demo