Description
GPAC before 26.07.0 contains a use-after-free vulnerability in MP4Box because gf_sg_reset frees DEF'd proto sub-graph nodes without removing them from the GF_Proto node_code list. Attackers can supply a crafted XMT scene with nested PROTOs so gf_sg_proto_del unregisters freed nodes during teardown, 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/3706 ↗
- 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_proto.c#L105-L125 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/121/121_gf_node_unregister_scenegraph_base_scenegraph_c_689 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-gf-node-unregister-via-gf-sg-proto-del ↗