CVE-2021-40566: Use After Free

Published Jan 12, 2022
·
Updated

A Segmentation fault casued by heap use after free vulnerability exists in Gpac through 1.0.1 via the mpgviddmxprocess function in reframempgvid.c when using mp4box, which causes a denial of service.

Affected Software

3 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

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 12, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected 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-40566?

CVE-2021-40566 is classified as a denial of service vulnerability due to a segmentation fault.

2

How do I fix CVE-2021-40566?

To fix CVE-2021-40566, upgrade to GPAC version 1.0.1+dfsg1-4+deb11u3 or 2.2.1+dfsg1-3.

3

What software is affected by CVE-2021-40566?

CVE-2021-40566 affects GPAC versions up to 1.0.1.

4

What causes the CVE-2021-40566 vulnerability?

The CVE-2021-40566 vulnerability is caused by heap use after free in the mpgviddmx_process function.

5

What components of GPAC are impacted by CVE-2021-40566?

CVE-2021-40566 impacts the mp4box component of GPAC.

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