CVE-2021-40571 Use after free in n/a
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-40571?
CVE-2021-40571 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 ilst_box_read function in box_code_apple.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-40571?
It affects 1 product.
Products include Gpac Gpac.
How do I fix CVE-2021-40571?
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-40571 being exploited?
There is no known exploitation of CVE-2021-40571 in the wild and no public exploit code.
Other vulnerabilities in Gpac Gpac
Sources
Also known as DEBIAN-CVE-2021-40571, GHSA-xjv4-5hjm-mw83, UBUNTU-CVE-2021-40571.