First published: Wed Aug 25 2021(Updated: )
An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. The library will actually reuse the parser for atoms with the “stsz” FOURCC code when parsing atoms that use the “stz2” FOURCC code and can cause an integer overflow 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.
Credit: talos-cna@cisco.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/gpac | 0.5.2-426-gc5ad4e4+dfsg5-5 1.0.1+dfsg1-4+deb11u3 2.2.1+dfsg1-3 | |
GPAC MP4Box | =1.0.1 | |
Debian Linux | =10.0 | |
Debian Linux | =11.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21848 has been classified as a critical severity vulnerability due to its potential for exploitation leading to arbitrary code execution.
To fix CVE-2021-21848, update GPAC to version 0.5.2-426-gc5ad4e4+dfsg5-5 or later, or apply any available patches.
CVE-2021-21848 affects GPAC version 1.0.1 as well as specific versions of Debian Linux including Debian 10.0 and 11.0.
CVE-2021-21848 can lead to integer overflow, which may result in memory corruption and allow attackers to execute arbitrary code.
CVE-2021-21848 is particularly relevant to users of the GPAC library, especially in environments that handle MPEG-4 content.