### [CVE-2018-17985](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17985) ![](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 An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters. ### POC #### Reference - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335 - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335 #### Github - https://github.com/ICSE2020-MemLock/MemLock_Benchmark - https://github.com/SZU-SE/MemLock_Benchmark - https://github.com/SZU-SE/Stack-overflow-Fuzzer-TestSuite - https://github.com/fokypoky/places-list - https://github.com/fuzz-evaluator/MemLock-Fuzz-eval - https://github.com/tzf-key/MemLock_Benchmark - https://github.com/tzf-omkey/MemLock_Benchmark - https://github.com/wcventure/MemLock-Fuzz - https://github.com/wcventure/MemLock_Benchmark