Description
GPAC MP4Box before 26.07.0 contains a use-after-free vulnerability because gf_node_free() frees nodes without detaching routes that still reference them via FromNode. Attackers can supply a crafted XMT scene with nested PROTO graphs so gf_sg_route_del() accesses freed memory, crashing MP4Box and potentially 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/3705 ↗
- 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/scenegraph/vrml_route.c#L81-L95 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/115/115_gf_sg_route_del_scenegraph_vrml_route_c_88 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-gf-sg-route-del-via-freed-route-source ↗