Description
GPAC MP4Box before 26.07.0 contains a use-after-free vulnerability in the XMT parser that leaves parser->command_buffer pointing into a freed InputSensor node. Attackers can supply a crafted XMT scene file triggering a parse error so xmt_node_start() writes NULL into freed memory, corrupting the heap 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/3697 ↗
- https://github.com/gpac/gpac/commit/41ce91ded3aad83ca7139bd00e3ee9ff4cd7796a ↗
- 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#L2590-L2600 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/134/134_xmt_node_start_scene_manager_loader_xmt_c_2655 ↗
- https://www.vulncheck.com/advisories/gpac-mp4box-before-26.07.0-use-after-free-in-xmt-node-start-via-xmt-parser ↗