CVE-2021-40574 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-40574?
CVE-2021-40574 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 from 0.9.0-preview to 1.0.1 has a double-free vulnerability in the gf_text_get_utf8_line function in load_text.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-40574?
It affects 1 product.
Products include Gpac Gpac.
How do I fix CVE-2021-40574?
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-40574 being exploited?
There is no known exploitation of CVE-2021-40574 in the wild and no public exploit code.
Other vulnerabilities in Gpac Gpac
Sources
Also known as DEBIAN-CVE-2021-40574, GHSA-rh4w-p52r-wx7r, UBUNTU-CVE-2021-40574.