GPAC through 26.07.0 contains a type confusion vulnerability in PointSet2D_Draw() that allows attackers to crash the application by casting the PointSet2D color field to M_Color without checking the node tag. Attackers can craft an XMT/BIFS scene placing an incompatible node in the color field, causing an invalid pointer dereference and denial of service when processed by MP4Box.
https://www.vulncheck.com/advisories/gpac-through-26.07.0-type-confusion-in-pointset2d-draw
https://github.com/gpac/gpac/issues/4074
https://github.com/gpac/gpac/commit/bdfe7c2ad1a4d57cbce17302249f0a1320f2ed9f
https://github.com/gpac/gpac/blob/v26.07.0/src/compositor/mpeg4_geometry_2d.c#L701-L716