Vulnerabilities · 2021 · Gpac
CVE-2021-40574
Gpac vulnerability
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.
Affected products
Gpac. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gpac runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb · Patch
- github.com/gpac/gpac/issues/1897 · Exploit
- www.debian.org/security/2023/dsa-5411 · Third Party Advisory
- github.com/gpac/gpac/blob/v0.9.0-preview/src/filters/load_text.c#L232
- github.com/gpac/gpac/blob/v0.9.0-preview/src/filters/load_text.c#L304
- nvd.nist.gov/vuln/detail/CVE-2021-40574
- cve.org/CVERecord?id=CVE-2021-40574
More vulnerabilities in Gpac products
CVE-2026-1418CVE-2026-1417CVE-2026-1416CVE-2026-1415CVE-2025-70310CVE-2025-70309CVE-2025-70308CVE-2025-70307All 369
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.