### [CVE-2021-21849](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21849) ![](https://img.shields.io/static/v1?label=Product&message=GPAC%20Project&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=GPAC%20Project%20Advanced%20Content%20commit%20a8a8d412dabcb129e695c3e7d861fcc81f608304%2C%20GPAC%20Project%20Advanced%20Content%20v1.0.1%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-680%3A%20Integer%20Overflow%20to%20Buffer%20Overflow&color=brightgreen) ### Description An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input can cause an integer overflow when the library encounters an atom using the “tfra” FOURCC code due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. An attacker can convince a user to open a video to trigger this vulnerability. ### POC #### Reference - https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297 #### Github - https://github.com/n0-traces/cve_monitor