Description
GPAC before 26.07.0 contains a use-after-free vulnerability in the XMT scene loader that allows attackers to read freed heap memory via discarded nodes left on the parser node stack. Attackers can supply a crafted XMT scene file processed by MP4Box, causing xmt_text_content() to call gf_node_get_tag() on a freed node and crash the process.
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/3690 ↗
- 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#L2927-L2933 ↗
- https://github.com/gpac/gpac/blob/v26.02.0/src/scene_manager/loader_xmt.c#L3060-L3070 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/120/120_gf_node_get_tag_scenegraph_base_scenegraph_c_1271 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-gf-node-get-tag-via-xmt-loader ↗