### [CVE-2014-3100](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3100) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description Stack-based buffer overflow in the encode_key function in /system/bin/keystore in the KeyStore service in Android 4.3 allows attackers to execute arbitrary code, and consequently obtain sensitive key information or bypass intended restrictions on cryptographic operations, via a long key name. ### POC #### Reference - http://packetstormsecurity.com/files/127185/Android-KeyStore-Stack-Buffer-Overflow.html - http://www.slideshare.net/ibmsecurity/android-keystorestackbufferoverflow #### Github - https://github.com/ksparakis/apekit - https://github.com/shellcong/seccomp_keystore