Junglewise Threat Intelligence

CVE-2025-60468: GPAC MP4Box heap use-after-free in gf_filter_pid_inst_swap_delete_task

CVE-2025-60468 · Severity: info · CVSS 5.5 · Published 2026-06-24

Executive brief

GPAC MP4Box, a popular open-source tool for processing multimedia files, contains a vulnerability that can be triggered by a specially crafted video file. If a user processes a malicious MPEG-2 TS or MP4 file, the application may crash, leading to a denial of service. This could disrupt media processing workflows or automated video conversion services.

Technical details

A heap use-after-free vulnerability exists in GPAC MP4Box version 2.5-DEV-rev1593-gfe88c3545-master within the gf_filter_pid_inst_swap_delete_task() function in filter_core/filter_pid.c. The issue occurs when the application improperly accesses objects that have already been freed during PID instance swap or delete cleanup operations. An attacker can exploit this by providing a malformed MPEG-2 TS or MP4 file, which triggers the use-after-free during filter teardown. This results in a memory corruption and a subsequent crash (denial of service). Fixes have been identified in the GPAC GitHub repository via commits 976dacf and aed9c94.

Affected products

  • GPAC Multimedia Open Source Project GPAC/MP4Box 2.5-DEV-rev1593-gfe88c3545-master

Timeline

  • 2026-06-24: advisory: NVD publication date
  • 2026-06-24: disclosed

References