CVE-2025-60465: GPAC MP4Box Use-After-Free Denial of Service Vulnerability
A use-after-free memory vulnerability exists in GPAC's media file processing logic. When MP4Box or the GPAC library processes a specially crafted media file, it can access memory that has already been freed, triggering a crash. An attacker needs only to trick a user into opening a malicious file locally—no network interaction required. The impact is denial of service; while the vulnerability does involve memory corruption, the specific attack vector does not lead to code execution in the current configuration.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.1 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
- Weaknesses (CWE)
- CWE-416
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-25 / 2026-06-30
NVD description (verbatim)
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.
7 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2025-60465 is a use-after-free flaw (CWE-416) in the gf_filter_pid_inst_swap function within GPAC's filter_core/filter_pid.c module. The vulnerability permits an unauthenticated, local attacker to cause a denial-of-service condition by supplying a crafted media file. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N) reflects local attack surface, low attack complexity, user interaction requirement (opening a file), and impacts on confidentiality and integrity within the application scope. The score of 6.1 (MEDIUM severity) indicates moderate risk. Notably, GPAC is widely used in video streaming, transcoding, and media analysis pipelines.
Business impact
For organizations relying on GPAC or MP4Box for media ingestion, transcoding, or validation workflows, this vulnerability can disrupt service availability. If a media processing pipeline automatically processes user-submitted or third-party video files, an attacker can introduce a crafted file to crash the processor, causing queued jobs to fail and potentially impacting video delivery timelines. The integrity impact component suggests potential for subtle corruption of processed media or internal state, warranting investigation. Organizations in broadcast, streaming, content delivery, and digital asset management face the highest operational risk.
Affected systems
GPAC Project and MP4Box versions prior to 26.02.0 are vulnerable. The flaw resides in media filter processing, affecting any deployment of GPAC or MP4Box that handles untrusted media input. This includes command-line usage of MP4Box for media analysis or conversion, as well as library integration in third-party applications that parse or process MP4 and related container formats. Verify your installed version against the vendor's release notes.
Exploitability
Exploitability is straightforward in scenarios where an attacker can supply a media file to a victim or target system. No special privileges, authentication, or network access are needed. The user interaction requirement—opening or processing the file—is easily satisfied in typical media workflows where files are automatically ingested from upload directories, email attachments, or cloud storage. The attack does not appear in any public exploit databases, but the low complexity and simple prerequisites mean proof-of-concept development is likely feasible. The vulnerability is not listed as in-the-wild exploitation as of the last KEV update.
Remediation
Upgrade GPAC and MP4Box to version 26.02.0 or later. If immediate patching is not feasible, apply input validation and sandboxing controls: restrict MP4Box and media processing to isolated sandboxes or containers with limited filesystem and memory access; implement file-type whitelisting and signature validation before processing; and disable automatic media processing of untrusted sources pending patch deployment. Organizations should test patched versions in non-production environments first to ensure compatibility with existing media pipelines.
Patch guidance
Download and deploy GPAC version 26.02.0 or newer from the official GPAC project repository (github.com/gpac/gpac). Review the project's release notes and changelog for any breaking changes or behavioral updates affecting your integration. If using MP4Box as a standalone tool, update via the project's download page or your Linux distribution's package manager once the patched version is available upstream. Verify the update by running 'MP4Box -version' or checking the library's version via your application's dependency management system.
Detection guidance
Monitor media processing logs for segmentation faults, crashes, or abnormal terminations of MP4Box or GPAC-based services, particularly when processing new or unusual media files. Implement integrity checks on incoming files before processing: scan for file format anomalies using tools like 'file' or 'ffprobe'. Network-level detection is limited since the attack requires local file processing; focus on endpoint telemetry. In automated pipelines, log the source and hash of every file processed; correlate crashes with specific file uploads to identify attack patterns. Consider honeypot media files with known malicious properties to detect reconnaissance or active exploitation attempts.
Why prioritize this
Although the CVSS score is MEDIUM (6.1), the vulnerability warrants prompt attention because: (1) GPAC is pervasive in media infrastructure and widely integrated into streaming platforms and broadcasters; (2) the attack surface is broad—any system accepting user-submitted or third-party video files is at risk; (3) operational disruption from repeated denial-of-service attacks can accumulate; and (4) the integrity impact suggests potential for subtle data corruption that may not be immediately noticed. Organizations with public-facing media upload or processing services should prioritize this patch within 30 days.
Risk score, explained
The CVSS 3.1 score of 6.1 (MEDIUM) reflects: local attack vector (AV:L), low attack complexity (AC:L), no privilege requirement (PR:N), and user interaction needed (UI:R). While the confidentiality impact (C:L) and integrity impact (I:H) are present, the availability impact is absent (A:N), preventing a higher score. In practice, denial-of-service conditions reduce availability indirectly. The score appropriately balances the accessibility of the attack against its limited scope—application-level crash rather than system-wide compromise. Organizations handling untrusted media should treat this as a higher priority within their own risk context.
Frequently asked questions
Can this vulnerability be exploited over the network?
No. The attack requires local file access (AV:L in CVSS). An attacker must supply a crafted media file to a system running GPAC or MP4Box and have that file processed. However, if your system automatically processes files from network sources (e.g., uploads, email, cloud storage), the attack surface is effectively wider.
Will upgrading to version 26.02.0 break my existing workflows?
Patch releases typically focus on bug fixes and security updates with minimal breaking changes. Review the GPAC project's release notes for version 26.02.0 to confirm compatibility with your media profiles and settings. Test the patched version in a staging environment on representative media samples before production deployment.
Is there any public exploit code available?
As of the latest advisory information, no public exploit code or proof-of-concept is documented. However, the use-after-free vulnerability is well-understood in the security research community, and reproducing it likely requires only a crafted media file—development of working exploits is a realistic possibility.
How do I know if my system has been attacked via this vulnerability?
Look for unexpected crashes or segmentation faults in logs from MP4Box or GPAC processes, especially when processing new or unusual media files. Correlate crash timestamps with file uploads or processing requests. Enable core dumps if your environment permits, and examine them for evidence of memory corruption in the gf_filter_pid_inst_swap function.
This analysis is provided for informational and defensive purposes only. SEC.co does not provide legal, compliance, or commercial risk assessment. Always verify patch availability and version numbers directly with the GPAC project's official repositories and advisories before deployment. Organizations should conduct their own risk assessments based on their specific infrastructure, threat model, and media processing workflows. The information herein reflects publicly available CVE data and security best practices as of the publication date and may not reflect all active threats or vendor-supplied mitigations. Source: NVD (public-domain), retrieved 2026-08-04. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-55644MEDIUMHeap Use-After-Free in GPAC MP4Box v2.4 DoS Vulnerability
- CVE-2025-55650MEDIUMHeap Use-After-Free in GPAC MP4Box v2.4 DoS Vulnerability
- CVE-2025-60466MEDIUMGPAC MP4Box Use-After-Free DoS Vulnerability
- CVE-2025-60471MEDIUMUse-After-Free in GPAC MP4Box Before 26.02.0 Denial of Service
- CVE-2025-60464HIGHGPAC MP4Box Use-After-Free DoS Vulnerability
- CVE-2025-60467HIGHGPAC MP4Box Use-After-Free DoS Vulnerability
- CVE-2025-59615MEDIUMQualcomm Memory Corruption in Persistent Memory Buffer Operations
- CVE-2025-59616MEDIUMQualcomm Use-After-Free Vulnerability in Multiple Platforms—CVSS 6.6