First published: Mon Aug 16 2021(Updated: )
An exploitable integer truncation vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. When processing the 'hdlr' FOURCC code, a specially crafted MPEG-4 input can cause an improper memory allocation 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 | =11.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21861 is classified as a high-severity vulnerability due to its potential to lead to a heap-based buffer overflow.
To fix CVE-2021-21861, update GPAC to version 0.5.2-426-gc5ad4e4+dfsg5-5, 1.0.1+dfsg1-4+deb11u3, or 2.2.1+dfsg1-3.
Versions of GPAC affected by CVE-2021-21861 include 1.0.1 and earlier.
CVE-2021-21861 impacts the MPEG-4 decoding functionality, specifically the processing of the 'hdlr' FOURCC code.
CVE-2021-21861 is exploitable when processing specially crafted MPEG-4 inputs, which may not be present in all environments.