Description
GPAC before 26.07.0 contains a use-after-free vulnerability in the XMT loader that leaves ROUTE commands of a discarded node queued after being freed by gf_sg_command_del(). Attackers can supply a crafted XMT scene file imported with MP4Box so xmt_resolve_routes() writes to freed memory, corrupting the heap and crashing 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/3696 ↗
- 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#L1150-L1170 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/130/130_xmt_resolve_routes_scene_manager_loader_xmt_c_1164 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-xmt-resolve-routes-via-route-commands ↗