Skip to main content

GPAC MP4Box CVE-2025-60466

| EUVDEUVD-2025-210330 MEDIUM
Use After Free (CWE-416)
2026-06-25 cve@mitre.org GHSA-5jcp-h69w-6fg7
5.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed MP4 media file
  2. Delivery
    Deliver file to target user (social engineering or shared storage)
  3. Exploit
    User executes MP4Box against crafted file
  4. Execution
    Filter graph connects/initializes PID on freed object
  5. Impact
    Use-after-free triggers process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target user locally execute MP4Box against a crafted media file supplied by the attacker - this is reflected in the CVSS vector as AV:L (local) and UI:R (user interaction required). The attacker needs no special credentials or elevated privileges; a standard user account running MP4Box is sufficient (PR:L). The vulnerability is not remotely triggerable without prior local access or user-initiated file processing. Key limiting factors: (1) The attack is not automatable per SSVC - the attacker cannot push the payload without user cooperation; (2) Scope is unscopped (S:U) - the crash is contained to the MP4Box process and does not affect the broader system or other users; (3) Impact is exclusively availability - no confidentiality or integrity compromise is possible via this path.

Impact

Real-world risk is moderate-to-low. The CVSS base score of 5.0 reflects a local, user-interactive attack vector (AV:L/UI:R) with impact limited to availability (A:H, C:N, I:N), meaning exploitation only crashes the application with no data exposure or code execution. EPSS of 0.17% (6th percentile) aligns with the constrained attack surface: an attacker must trick a user into processing a malicious media file with MP4Box locally - this is not remotely exploitable. SSVC categorizes technical impact as 'partial' and explicitly flags the vulnerability as not automatable, corroborating the CVSS assessment. The POC is publicly available (referenced GitHub repository), which is a concrete escalation signal over theoretical exploitability, but the non-automated, user-interactive nature substantially limits mass exploitation potential. CVSS and SSVC signals are consistent and mutually reinforcing here - this is a genuine but bounded DoS issue, not a high-priority remote compromise vector.

Exploit ScenarioDerived

An attacker crafts a malformed MP4 or media container file specifically designed to drive the GPAC filter graph into a state where a PID is freed during an in-flight connect or init task. The attacker delivers this file to a target user via email, download, or shared storage and persuades them to process it with MP4Box (e.g., 'MP4Box -info malicious.mp4'). Upon execution, the use-after-free is triggered, crashing the MP4Box process. A public POC demonstrating this crash is available at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/35/.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Use-after-free in MP4Box's filter pipeline (gf_filter_pid_get_packet, filter_core/filter_pid.c) crashes the application when processing a crafted media file, resulting in Denial of Service. Affected versions are all GPAC/MP4Box releases prior to 26.02.0. A publicly available proof-of-concept exploit exists, though exploitation requires local access and user interaction - the CVSS vector (AV:L/UI:R) and low EPSS score of 0.17% indicate limited real-world automated exploitation risk. No confirmed active exploitation (CISA KEV not listed).

RemediationAI

Upgrade to GPAC 26.02.0 or any build incorporating commit 4a7ea06dd1b2cc65fe0dabc60189eb6bc814f7bb (https://github.com/gpac/gpac/commit/4a7ea06dd1b2cc65fe0dabc60189eb6bc814f7bb). This is the vendor-confirmed fix and the only complete resolution. For environments where an immediate upgrade is not feasible, a practical compensating control is to restrict MP4Box from processing untrusted or externally sourced media files - for example, run MP4Box in a sandboxed environment (e.g., bubblewrap, firejail, or a container) so that a triggered crash cannot cascade to host processes. The DoS impact is process-local, so network-level controls offer no mitigation. No workarounds are documented by the vendor for this specific issue. The trade-off of sandboxing is minor operational overhead with no functional degradation to MP4Box's output.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GPAC is an open-source multimedia processing framework; MP4Box is its primary command-line tool for packaging, inspecting, and manipulating ISO Base Media File Format (ISOBMFF/MP4) content. The vulnerable code path lies in filter_core/filter_pid.c within the GPAC filter graph subsystem, which manages data flow between processing nodes (filters). CWE-416 (Use After Free) is the root cause: the gf_filter_pid_connect_task and gf_filter_pid_init_task functions did not check whether a filter or PID had been marked as removed or finalized before proceeding to access the associated memory. The commit diff confirms that the fix introduces explicit guards (checking pid->removed, filter->finalized, filter->removed) at the entry of these task functions, preventing access to objects already scheduled for deallocation. The vulnerability is triggered by a crafted media file that causes the filter graph to reach a state where a PID is freed mid-task.

Know when Gpac gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.0 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 5.0 MEDIUM

Local file processing requires user execution (UI:R) with no elevated privileges (PR:L); crash is availability-only with no confidentiality or integrity impact.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 25, 2026 - 15:22 NVD
5.0 (MEDIUM)
CVE Published
Jun 25, 2026 - 00:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

A use-after-free in the gf_filter_pid_get_packet 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche multimedia processing CLI tool, not enterprise-deployed at scale
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in GPAC MP4Box Memory Safety Vulnerabilities

View all 2

More in Gpac

View all
CVE-2023-46932 CRITICAL POC
9.8 Dec 09

Heap Buffer Overflow vulnerability in GPAC version 2.3-DEV-rev617-g671976fcc-master, allows attackers to execute arbitra

CVE-2023-2840 CRITICAL POC
9.8 May 22

NULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.8), this vulnera

CVE-2022-36190 CRITICAL POC
9.8 Aug 17

GPAC mp4box 2.1-DEV-revUNKNOWN-master has a use-after-free vulnerability in function gf_isom_dovi_config_get. Rated crit

CVE-2022-1795 CRITICAL POC
9.8 May 18

Use After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2021-28300 CRITICAL POC
9.8 Apr 14

NULL Pointer Dereference in the "isomedia/track.c" module's "MergeTrack()" function of GPAC v0.5.2 allows attackers to e

CVE-2020-11558 CRITICAL POC
9.8 Apr 05

An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. Rated critical severity (CVSS 9.8), this

CVE-2018-13005 CRITICAL POC
9.8 Jun 29

An issue was discovered in MP4Box in GPAC 0.7.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2023-2838 CRITICAL POC
9.1 May 22

Out-of-bounds Read in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.1), this vulnerability

CVE-2023-0841 HIGH POC
8.8 Feb 15

A vulnerability, which was classified as critical, has been found in GPAC 2.3-DEV-rev40-g3602a5ded.c. Rated high severit

CVE-2022-4202 HIGH POC
8.8 Nov 29

A vulnerability, which was classified as problematic, was found in GPAC 2.1-DEV-rev490-g68064e101-master. Rated high sev

CVE-2021-21850 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

CVE-2021-21849 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy