CVE-2021-40570 Use after free in n/a

High 7.8 Published Updated

A double-free vulnerability in GPAC's MP4Box allows attackers to execute arbitrary code, escalate privileges, or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-40570?

CVE-2021-40570 is a high-severity use after free vulnerability in Gpac Gpac, published on 13 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the avc_compute_poc function in av_parsers.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.

Weakness: CWE-415

Which versions are affected by CVE-2021-40570?

It affects 1 product.

Products include Gpac Gpac.

How do I fix CVE-2021-40570?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-40570 being exploited?

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

All Gpac Gpac vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-40570, GHSA-p5f8-j4hp-99x6, UBUNTU-CVE-2021-40570.

Is CVE-2021-40570 in your software?

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

Check your SBOMs for free