The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the ilstboxread function in boxcodeapple.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*"
],
"vendor_product": "gpac:gpac",
"extracted_events": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_STRING"
}
]
}[
{
"id": "CVE-2021-40571-a79836d7",
"deprecated": false,
"digest": {
"length": 2616.0,
"function_hash": "267599386368034517678407404425567609043"
},
"signature_version": "v1",
"target": {
"file": "src/odf/descriptors.c",
"function": "gf_odf_av1_cfg_read_bs_size"
},
"source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
"signature_type": "Function"
},
{
"id": "CVE-2021-40571-f476bab8",
"deprecated": false,
"digest": {
"line_hashes": [
"167712747624264993690543912685537572073",
"46605784320911199798118875246953709599",
"10592338377528693664937670519065565482",
"14721782883213438859082900364656024061"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "src/odf/descriptors.c"
},
"source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
"signature_type": "Line"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40571.json"
"2026-08-03T14:35:21Z"