The binary MP4Box in Gpac from 0.9.0-preview to 1.0.1 has a double-free vulnerability in the gftextgetutf8line function in load_text.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
[ { "signature_type": "Function", "deprecated": false, "source": "https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb", "signature_version": "v1", "target": { "function": "gf_text_get_utf8_line", "file": "src/filters/load_text.c" }, "digest": { "function_hash": "230210492341566583915014837668410286663", "length": 1611.0 }, "id": "CVE-2021-40574-5f2a698c" }, { "signature_type": "Line", "deprecated": false, "source": "https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb", "signature_version": "v1", "target": { "file": "src/filters/load_text.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "180728915578673776719162757042366151258", "240734627911263875664516209368288375490", "222287515743341404633450966596245244444", "64109077259693350474625864948021857235", "166482483231269289728412799493455409256", "294305885484496685493816442798177987069", "339237291132411872005631746324972709639", "158498996080456010138040219121678181146", "128200279200830873988320868286409958588", "181105664868832716179405220100333977639", "164337026075874724797191200993357550532", "106130394707070135858149980450533248725" ] }, "id": "CVE-2021-40574-8b3557f3" }, { "signature_type": "Function", "deprecated": false, "source": "https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb", "signature_version": "v1", "target": { "function": "gf_text_process_sub", "file": "src/filters/load_text.c" }, "digest": { "function_hash": "194929129869498996262184414212790556334", "length": 3374.0 }, "id": "CVE-2021-40574-905b8074" } ]