GPAC MP4Box before 26.07.0 contains a use-after-free vulnerability in the XMT loader that allows attackers to crash the process by supplying crafted XMT files. Attackers can assign a second node to an SFNode command field so xmt_node_end() frees a forward-referenced child still cached in peeked_nodes, triggering a crash during DEF lookup in xmt_find_node().
https://github.com/gpac/gpac/releases/tag/v26.07.0
https://github.com/gpac/gpac/issues/3739
https://github.com/gpac/gpac/commit/41056e87d2a1a104359937b23491c0156ed5e17b
https://github.com/gpac/gpac/blob/v26.02.0/src/scene_manager/loader_xmt.c#L2950-L2962