Description
GPAC before 26.02.0 contains a use-after-free vulnerability in gf_filter_pid_set_args_internal() that leaves a stale pointer after gf_props_reset_single() frees a parsed PID property value. Attackers can supply a crafted filelist input processed by MP4Box with -add, causing gf_props_del_property() to access freed memory and crash the application.
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.02.0affected
pkg:github/gpac/gpacReferences
- https://github.com/gpac/gpac/issues/3441 ↗
- https://github.com/gpac/gpac/commit/d65d699012bd82a0839e8af6747bca438e26938a ↗
- https://github.com/gpac/gpac/releases/tag/v26.02.0 ↗
- https://github.com/gpac/gpac/blob/v2.4.0/src/filter_core/filter_pid.c#L4183-L4184 ↗
- https://github.com/gpac/gpac/blob/v2.4.0/src/filter_core/filter_props.c#L886 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/72/72_gf_props_del_property ↗
- https://www.vulncheck.com/advisories/gpac-before-26.02.0-use-after-free-via-pid-property-arguments ↗