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

Medium 5.5 Published Updated

A heap use-after-free in GPAC's mp4box tool allows attackers to cause a denial of service via crafted media files.

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-40566?

CVE-2021-40566 is a medium-severity use after free vulnerability in Gpac Gpac, published on 12 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

A Segmentation fault casued by heap use after free vulnerability exists in Gpac through 1.0.1 via the mpgviddmx_process function in reframe_mpgvid.c when using mp4box, which causes a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2021-40566?

It affects 1 product.

Products include Gpac Gpac.

How do I fix CVE-2021-40566?

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-40566 being exploited?

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

All Gpac Gpac vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-40566, GHSA-5xr9-fwxj-j4r9, UBUNTU-CVE-2021-40566.

Is CVE-2021-40566 in your software?

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

Check your SBOMs for free