### [CVE-2023-0341](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0341) ![](https://img.shields.io/static/v1?label=Product&message=EditorConfig%20C%20Core&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=0%3C%20v0.12.6%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-121&color=brighgreen) ### Description A stack buffer overflow exists in the ec_glob function of editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily write to the stack and possibly allows remote code execution. editorconfig-core-c v0.12.6 resolved this vulnerability by bound checking all write operations over the p_pcre buffer. ### POC #### Reference - https://litios.github.io/2023/01/14/CVE-2023-0341.html #### Github - https://github.com/DiRaltvein/memory-corruption-examples