The binary MP4Box in Gpac 1.0.1 has a double-free bug in the av1dmx_finalize function in reframe_av1.c, which allows attackers to cause a denial of service.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_STRING",
"vendor_product": "gpac:gpac"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40572.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "94828584391595971665725389765022657673",
"length": 1174
},
"id": "CVE-2021-40572-5a4ec229",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109",
"target": {
"file": "src/media_tools/av_parsers.c",
"function": "gf_av1_reset_state"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"190758511035871044359616509405581482701",
"337463486019059404432073877637465188603",
"234764131504016834923870939924473117663",
"316043205292982520869032266116493173385",
"207165251157113689840433150677131970669",
"83074468117288964414455924109097985828",
"79928491319656174095352217745522536747"
],
"threshold": 0.9
},
"id": "CVE-2021-40572-7e3ae340",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109",
"target": {
"file": "src/media_tools/av_parsers.c"
}
}
]
"2026-08-03T14:35:20Z"