CVE-2025-60468

GPAC MP4Box Heap Use‑After‑Free via PID Instance Swap/Delete

Published Jun 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
GPAC Multimedia Open Source Project GPAC Project/MP4Box 2.5-DEV-rev1593-gfe88c3545-master is affected by: Buffer Overflow. The impact is: cause a denial of service (local). The component is: filter_core/filter_pid.c (L:574-580): function gf_filter_pid_inst_swap_delete_task() improperly accesses freed objects during PID instance swap/delete cleanup, leading to heap use-after-free. The attack vector is: Local (AV:L): a local, authenticated user who processes a specially crafted MPEG-2 TS/MP4 file with MP4Box can trigger the bug during filter teardown (PID instance swap/delete), causing a crash. ¶¶ In GPAC s MP4Box, gf_filter_pid_inst_swap_delete_task() in filter_core/filter_pid.c may dereference objects after they have been freed when cleaning up PID instances after a swap/delete operation. Crafted inputs (e.g., malformed MPEG-2 TS) can trigger a heap use-after-free and crash; exploitation may be possible.

Analysis

AI-generated

Technical impact

The vulnerability resides in the filter_core/filter_pid.c file of GPAC MP4Box, where the function gf_filter_pid_inst_swap_delete_task improperly accesses freed objects during cleanup after a PID instance swap or delete operation. This improper access results in a heap use‑after‑free that can be triggered by a specially crafted MPEG‑2 TS or MP4 file, causing the application to crash. The weakness is a classic buffer overflow/use‑after‑free scenario that undermines the integrity of the media processing pipeline and can be exploited locally by a user with permission to execute MP4Box on a crafted media file.

Affected Systems

Affected is the GPAC Multimedia Open Source Project, specifically the MP4Box component. The affected version is 2.5‑DEV‑rev1593‑gfe88c3545‑master. No other vendors or product lines are listed.

Risk and Exploitability

The flaw can be exploited locally by a user who has permission to execute MP4Box with a specially crafted media file. Based on the description, the likely attack vector is local, authenticated execution of MP4Box with a crafted MPEG‑2 TS or MP4 file. No remote exploitation vector is known. Because the vulnerability is limited to the host machine, a malicious file supplied via untrusted media would be required. The EPSS score is < 1% and the CVSS score of 5.5 indicate a low probability of exploitation and moderate severity, respectively, but the presence of a heap use‑after‑free and lack of remote code execution suggest a moderate to high risk for systems relying on MP4Box for unattended media processing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the upstream patch from commit 976dacf65cb6986a4e4f350fb8d3ed0a17dc3a77 that addresses the heap use‑after‑free in gf_filter_pid_inst_swap_delete_task.
  • If the patch is not yet available, avoid processing untrusted MPEG‑2 TS or MP4 files with the current MP4Box build, or run the program in a sandboxed environment to contain crashes.
  • Upgrade to a newer release of GPAC MP4Box that contains the fix, or monitor the project’s repository and pull requests for an updated version.
  • As a temporary workaround, disable or exclude the filter_pid feature from the build if it is not required for your workflow.

Generated by OpenCVE AI on June 25, 2026 at 18:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title GPAC MP4Box Heap Use‑After‑Free via PID Instance Swap/Delete
Type Values Removed Values Added
Title Buffer Overflow Causing Local Denial of Service in GPAC MP4Box
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gpac
Gpac mp4box
Vendors & Products Gpac
Gpac mp4box
Type Values Removed Values Added
Title Buffer Overflow Causing Local Denial of Service in GPAC MP4Box
Weaknesses CWE-122
CWE-416
Type Values Removed Values Added
Description GPAC Multimedia Open Source Project GPAC Project/MP4Box 2.5-DEV-rev1593-gfe88c3545-master is affected by: Buffer Overflow. The impact is: cause a denial of service (local). The component is: filter_core/filter_pid.c (L:574-580): function gf_filter_pid_inst_swap_delete_task() improperly accesses freed objects during PID instance swap/delete cleanup, leading to heap use-after-free. The attack vector is: Local (AV:L): a local, authenticated user who processes a specially crafted MPEG-2 TS/MP4 file with MP4Box can trigger the bug during filter teardown (PID instance swap/delete), causing a crash. ¶¶ In GPAC s MP4Box, gf_filter_pid_inst_swap_delete_task() in filter_core/filter_pid.c may dereference objects after they have been freed when cleaning up PID instances after a swap/delete operation. Crafted inputs (e.g., malformed MPEG-2 TS) can trigger a heap use-after-free and crash; exploitation may be possible.
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 25, 2026, 1:33 PM
Reserved
Sep 26, 2025, 12:00 AM
Status
Analyzed
Published
Jun 24, 2026, 10:16 PM
Modified
Oct 13, 2026, 10:10 AM