7.8
CWE
415
Advisory Published
Updated

CVE-2021-40574: Double Free

First published: Thu Jan 13 2022(Updated: )

The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the gf_text_get_utf8_line function in load_text.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.

Credit: cve@mitre.org

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
>=0.9.0<=1.0.1

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-40574?

    CVE-2021-40574 is classified as a high severity vulnerability due to its potential for denial of service and privilege escalation.

  • How do I fix CVE-2021-40574?

    To fix CVE-2021-40574, update GPAC to versions 1.0.1+dfsg1-4+deb11u3 or 2.2.1+dfsg1-3.

  • Which versions of GPAC are affected by CVE-2021-40574?

    GPAC versions up to and including 1.0.1 are affected by CVE-2021-40574.

  • What type of vulnerability is CVE-2021-40574?

    CVE-2021-40574 is a double-free vulnerability occurring in the gf_text_get_utf8_line function.

  • Can CVE-2021-40574 lead to code execution?

    Yes, CVE-2021-40574 can potentially allow attackers to achieve code execution.

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