CVE-2021-21840: Buffer Overflow

Published Aug 25, 2021
·
Updated

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input used to process an atom using the “saio” FOURCC code 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 25, 2021
CVE Published
via MITRE·06:21 PM
Data Sourced
via MITRE·06:21 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21840?

CVE-2021-21840 is considered to have a medium severity level due to the potential for integer overflow in image processing.

2

How do I fix CVE-2021-21840?

To fix CVE-2021-21840, update the GPAC project to version 0.5.2-426-gc5ad4e4+dfsg5-5 or later.

3

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

CVE-2021-21840 affects GPAC version 1.0.1 and earlier versions.

4

What type of vulnerability is CVE-2021-21840?

CVE-2021-21840 is an integer overflow vulnerability found in the MPEG-4 decoding functionality.

5

Is CVE-2021-21840 exploitable remotely?

Yes, CVE-2021-21840 can be exploited remotely through specially crafted MPEG-4 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