GPAC before 26.07.0 contains a type confusion vulnerability in xmt_parse_script_field() that allows attackers to trigger a heap out-of-bounds read via duplicate Script field names with conflicting types. Attackers can craft an XMT file that, when imported with MP4Box, causes gf_sg_vrml_mf_reset() to treat a single-value field as multi-value, crashing the application.
https://www.vulncheck.com/advisories/gpac-before-26.07.0-type-confusion-via-xmt-parse-script-field
https://github.com/gpac/gpac/releases/tag/v26.07.0
https://github.com/gpac/gpac/issues/3693
https://github.com/gpac/gpac/commit/3947eb18e140f37149ecc3b6a0a469c03eaf682d
https://github.com/gpac/gpac/blob/v26.02.0/src/scene_manager/loader_xmt.c#L1395-L1410