In GPAC 0.7.1 and earlier, gftextgetutf8line in mediatools/textimport.c in libgpac_static.a allows an out-of-bounds write because a certain -1 return value is mishandled.
[
{
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
"signature_type": "Line",
"target": {
"file": "src/media_tools/text_import.c"
},
"id": "CVE-2018-20760-0f0f89f8",
"digest": {
"line_hashes": [
"166482483231269289728412799493455409256",
"294305885484496685493816442798177987069",
"339237291132411872005631746324972709639",
"275142320839685856229007254720329448643"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
"signature_type": "Function",
"target": {
"function": "gf_text_get_utf8_line",
"file": "src/media_tools/text_import.c"
},
"id": "CVE-2018-20760-5f3fa077",
"digest": {
"length": 1613.0,
"function_hash": "99797345829505119259293328342837626094"
},
"deprecated": false
}
]