Description
GPAC MP4Box before 26.07.0 contains a use-after-free vulnerability in Conditional_execute() because SetupConditional() stores a BIFS decoder pointer that gf_sm_load_run_isom() later frees without clearing. Attackers can supply a crafted MP4 file with a BIFS Conditional node processed with -nstatx to crash MP4Box and potentially corrupt 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/3738 ↗
- 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/bifs/conditional.c#L60-L75 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/139/139_Conditional_execute_bifs_conditional_c_69 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-conditional-execute-via-freed-bifs-decoder ↗