Description
GPAC before 26.07.0 contains a use-after-free vulnerability in xmt_node_end() that allows attackers to corrupt memory by attaching nodes from unrelated proto sub-graphs to field-replace commands. Attackers can supply a crafted XMT scene buffering such a command in a Conditional node, causing gf_node_try_destroy() to access the freed node, crashing MP4Box and corrupting the heap.
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/3752 ↗
- https://github.com/gpac/gpac/commit/41056e87d2a1a104359937b23491c0156ed5e17b ↗
- https://github.com/gpac/gpac/releases/tag/v26.07.0 ↗
- https://github.com/gpac/gpac/blob/v26.02.0/src/scenegraph/commands.c#L65-L80 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/142/142_gf_node_try_destroy_scenegraph_base_scenegraph_c_695 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-gf-node-try-destroy-via-xmt-field-replace ↗