Description
GPAC MP4Box before 26.07.0 contains a use-after-free vulnerability in xmt_find_node() in loader_xmt.c that leaves freed forward-referenced nodes cached in parser->peeked_nodes. Attackers can supply a crafted XMT file with a node targeted by an SFCommandBuffer command, triggering a later DEF lookup on the freed node and crashing MP4Box.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
gpac gpac
Default version status: unaffected
0 to < 26.07.0affected
pkg:github/gpac/gpacReferences
- https://github.com/gpac/gpac/issues/3707 ↗
- https://github.com/gpac/gpac/commit/14a22a69f8f6120392fa17eff8fd54ad162e9a3e ↗
- https://github.com/gpac/gpac/releases/tag/v26.07.0 ↗
- https://github.com/gpac/gpac/blob/v26.02.0/src/scene_manager/loader_xmt.c#L725-L740 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/122/122_gf_node_get_name_scenegraph_base_scenegraph_c_1308 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-xmt-find-node-via-xmt-peeked-nodes ↗