CVE-2021-21860 Integer overflow in GPAC Project

High 8.8 Published Updated

A crafted MPEG-4 file triggers an integer truncation leading to heap overflow and potential code execution in the GPAC library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-21860?

CVE-2021-21860 is a high-severity vulnerability in Debian Debian Linux, published on 16 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An exploitable integer truncation 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 can cause an improper memory allocation resulting in a heap-based buffer overflow that causes memory corruption. The FOURCC code, 'trik', is parsed by the function within the library. An attacker can convince a user to open a video to trigger this vulnerability.

Weakness: CWE-681, CWE-680

Which versions are affected by CVE-2021-21860?

It affects 2 products.

Products include Debian Debian Linux, Gpac Gpac.

How do I fix CVE-2021-21860?

Upgrade to a fixed version.

Is CVE-2021-21860 being exploited?

There is no known exploitation of CVE-2021-21860 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-21860, GHSA-4q7h-5c9f-8xqg, UBUNTU-CVE-2021-21860.

Is CVE-2021-21860 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free