CVE-2025-60465
Awaiting Analysis Awaiting Analysis - Queue
Use-After-Free in GPAC MP4Box

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: MITRE

Description
A use-after-free in the gf_filter_pid_inst_swap function (/filter_core/filter_pid.c) of GPAC Project/MP4Box before 26.02.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted media file.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-06-26
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
gpac_project mp4box to 26.02.0 (exc)
gpac mp4box to 26.02.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a use-after-free issue in the gf_filter_pid_inst_swap function within the GPAC Project's MP4Box software before version 26.02.0. It occurs in the /filter_core/filter_pid.c file. A use-after-free vulnerability means that the software continues to use memory after it has been freed, which can lead to unexpected behavior.

In this case, attackers can exploit this flaw by supplying a specially crafted media file to the software.

Impact Analysis

Exploiting this vulnerability allows attackers to cause a Denial of Service (DoS) condition. This means the software could crash or become unresponsive when processing a maliciously crafted media file, potentially disrupting services or applications relying on MP4Box.

Detection Guidance

This vulnerability can be detected by attempting to process a crafted media file that triggers the use-after-free condition in GPAC's MP4Box tool.

A specific command to trigger detection is: ./MP4Box -info 34_gf_filter_pid_inst_swap_filter_core_filter_pid_c_633

Running this command results in an AddressSanitizer error indicating a heap-use-after-free, which confirms the presence of the vulnerability.

Mitigation Strategies

To mitigate this vulnerability, update GPAC/MP4Box to a version that includes the fix for this issue.

The fix involves a code change that prevents redundant relinking operations and properly handles the graph state to avoid the use-after-free condition.

If an immediate update is not possible, avoid processing untrusted or crafted media files that could trigger this vulnerability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-60465. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart