An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. audiosampleentryRead in isomedia/boxcodebase.c does not properly decide when to make gfisomboxdel calls. This leads to various use-after-free outcomes involving mdiaRead, gfisomdeletemovie, and gfisomparsemovieboxes.
[
{
"id": "CVE-2020-11558-3c058c9f",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"209419338807595549989425777928616231565",
"134613384087633747991818009045271792603",
"270422956785987196441140460082296232631",
"32331963034934812695965767984493227917",
"102905533540432451858855387126122159953",
"18872638200036743128143019695906511749",
"110109268998264501258140192252233115066"
],
"threshold": 0.9
},
"target": {
"file": "src/isomedia/box_code_base.c"
},
"signature_type": "Line",
"source": "https://github.com/gpac/gpac/commit/6063b1a011c3f80cee25daade18154e15e4c058c"
},
{
"id": "CVE-2020-11558-e5169e3f",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1758.0,
"function_hash": "67754386134682874808586504669882613302"
},
"target": {
"function": "audio_sample_entry_Read",
"file": "src/isomedia/box_code_base.c"
},
"signature_type": "Function",
"source": "https://github.com/gpac/gpac/commit/6063b1a011c3f80cee25daade18154e15e4c058c"
}
]