[ Description ]Official description
GPAC through 26.07.0 contains a type confusion vulnerability in gf_sg_command_apply() in src/scenegraph/commands.c that fails to verify BIFS field-replace command types match target node fields. Attackers can supply a crafted XMT file opened with MP4Box, such as via chapter import, causing gf_sg_vrml_field_clone() to memcpy from invalid pointers and crash.
[ References ]References
- github.com/gpac/gpac
- github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c
- github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1
- github.com/gpac/gpac/issues/4032
- github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/224/224_gf_sg_command_apply_scenegra…
- www.vulncheck.com/advisories/gpac-through-26.07.0-type-confusion-via-gf-sg-command-appl…