CVE-2021-40568: Buffer Overflow

Published Jan 13, 2022
·
Updated

A buffer overflow vulnerability exists in Gpac through 1.0.1 via a malformed MP4 file in the svcparseslice function in avparsers.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-40568?

CVE-2021-40568 is classified as a high severity buffer overflow vulnerability that can lead to denial of service and potential code execution.

2

How do I fix CVE-2021-40568?

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

3

What software is affected by CVE-2021-40568?

CVE-2021-40568 affects GPAC versions up to and including 1.0.1.

4

Can CVE-2021-40568 lead to privilege escalation?

Yes, CVE-2021-40568 can allow attackers to escalate privileges through code execution.

5

What type of attack is associated with CVE-2021-40568?

CVE-2021-40568 is associated with a buffer overflow attack that exploits malformed MP4 files.

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