CVE-2021-21846: Buffer Overflow

Published 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 in “stsz” decoder 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.

Affected Software

4 affected componentsFixes available
debian/gpac
0.5.2-426-gc5ad4e4+dfsg5-51.0.1+dfsg1-4+deb11u32.2.1+dfsg1-3
Gpac GPAC=1.0.1
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

Aug 18, 2021
CVE Published
via MITRE·12:32 PM
Data Sourced
via MITRE·12:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21846?

CVE-2021-21846 has been classified as a high severity vulnerability due to the potential for remote code execution via crafted MPEG-4 files.

2

How do I fix CVE-2021-21846?

To fix CVE-2021-21846, update the GPAC library to version 0.5.2-426-gc5ad4e4+dfsg5-5 or a later version that addresses the vulnerability.

3

What software versions are affected by CVE-2021-21846?

CVE-2021-21846 affects GPAC versions 1.0.1 and earlier, including specific Debian packages listed in the vulnerability report.

4

What types of attacks can exploit CVE-2021-21846?

Attackers can exploit CVE-2021-21846 by sending specially crafted MPEG-4 files, which can lead to heap-based buffer overflow and potential code execution.

5

Is CVE-2021-21846 present in Debian systems?

Yes, CVE-2021-21846 is present in Debian systems running version 10.0 or 11.0 with the affected GPAC versions installed.

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