CVE-2021-21849: Buffer Overflow
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-21849?
CVE-2021-21849 has been classified as a high-severity vulnerability due to the risk of exploitation through specially crafted MPEG-4 files.
What causes the CVE-2021-21849 vulnerability?
The vulnerability is caused by an integer overflow in the MPEG-4 decoding functionality within the GPAC Project's Advanced Content library.
How do I fix CVE-2021-21849?
To fix CVE-2021-21849, update the GPAC library to version 0.5.2-426-gc5ad4e4+dfsg5-5 or later.
Which versions of GPAC are affected by CVE-2021-21849?
GPAC version 1.0.1 and earlier versions are affected by CVE-2021-21849.
Is there any workaround for CVE-2021-21849?
There are no known effective workarounds for CVE-2021-21849, so updating is essential.