8.8
CWE
119 190 680
Advisory Published
Updated

CVE-2021-21844: Buffer Overflow

First published: Wed Aug 18 2021(Updated: )

Multiple exploitable integer overflow vulnerabilities exist within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input when encountering an atom using the “stco” FOURCC code, 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 SoftwareAffected VersionHow 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=10.0
Debian=11.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-21844?

    CVE-2021-21844 is classified as a high severity vulnerability due to its potential to lead to arbitrary code execution.

  • How do I fix CVE-2021-21844?

    To mitigate CVE-2021-21844, upgrade to a version of GPAC that is not vulnerable, such as 0.5.2-426-gc5ad4e4+dfsg5-5 or later.

  • What software is affected by CVE-2021-21844?

    CVE-2021-21844 affects multiple versions of the GPAC software library, specifically version 1.0.1 and earlier.

  • What could exploit CVE-2021-21844?

    An attacker could exploit CVE-2021-21844 by crafting a specially designed MPEG-4 file that triggers the integer overflow vulnerability.

  • Is CVE-2021-21844 still exploitable in the latest GPAC versions?

    No, CVE-2021-21844 has been addressed in later updates of the GPAC library, making it no longer exploitable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203