### [CVE-2018-20659](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20659) ![](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 Bento4 1.5.1-627. The AP4_StcoAtom class in Core/Ap4StcoAtom.cpp has an attempted excessive memory allocation when called from AP4_AtomFactory::CreateAtomFromStream in Core/Ap4AtomFactory.cpp, as demonstrated by mp42hls. ### POC #### Reference - https://github.com/axiomatic-systems/Bento4/issues/350 - https://github.com/axiomatic-systems/Bento4/issues/350 #### Github - https://github.com/ICSE2020-MemLock/MemLock_Benchmark - https://github.com/SZU-SE/MemLock_Benchmark - https://github.com/SZU-SE/Uncontrolled-allocation-Fuzzer-TestSuite - https://github.com/tzf-key/MemLock_Benchmark - https://github.com/tzf-omkey/MemLock_Benchmark - https://github.com/wcventure/MemLock_Benchmark