CVE-2021-40571: Double Free

Published Jan 13, 2022
·
Updated

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

Affected Software

9 affected componentsFixes available
Gpac GPAC=1.0.1
debian/gpac<1.0.1+dfsg1-4+deb11u2
1.0.1+dfsg1-4+deb11u2
debian/gpac
1.0.1+dfsg1-4+deb11u22.0.0+dfsg1-2
ubuntu/gpac*
ubuntu/gpac*
ubuntu/gpac*
ubuntu/gpac*
ubuntu/gpac*
ubuntu/gpac*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gpac to a version that resolves this vulnerability.

    Fixed in 1.0.1+dfsg1-4+deb11u2
  2. Upgrade

    Upgrade debian/gpac to a version that resolves this vulnerability.

    Fixed in 1.0.1+dfsg1-4+deb11u2Fixed in 2.0.0+dfsg1-2

Event History

Jan 13, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Data Sourced
06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:28 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-40571?

CVE-2021-40571 is classified as a high severity vulnerability due to its potential for denial of service and possible remote code execution.

2

How do I fix CVE-2021-40571?

To fix CVE-2021-40571, upgrade to the patched versions of GPAC, specifically 1.0.1+dfsg1-4+deb11u3 or 2.2.1+dfsg1-3.

3

What causes CVE-2021-40571?

CVE-2021-40571 is caused by a double-free vulnerability in the ilst_box_read function in GPAC's MP4Box.

4

Which versions of GPAC are affected by CVE-2021-40571?

CVE-2021-40571 affects GPAC versions before 1.0.1+dfsg1-4+deb11u3 and 2.2.1+dfsg1-3.

5

What types of attacks can CVE-2021-40571 facilitate?

CVE-2021-40571 can facilitate denial of service attacks as well as potential code execution and privilege escalation.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203