Skip to main content

GPAC MP4Box CVE-2025-60468

| EUVDEUVD-2025-210332 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-06-24 mitre GHSA-fj4j-92hj-mcwp
5.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain local authenticated access
  2. Delivery
    Place crafted MPEG-2 TS/MP4 file on system
  3. Exploit
    Invoke MP4Box to process crafted file
  4. Execution
    Trigger PID instance swap/delete during filter teardown
  5. Persist
    Heap use-after-free in gf_filter_pid_inst_swap_delete_task()
  6. Impact
    MP4Box process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires: (1) local authenticated access to the system (PR:L per CVSS vector - remote unauthenticated exploitation is not possible); (2) the attacker must supply or place a specially crafted MPEG-2 TS or MP4 file; (3) a user or automated process must invoke MP4Box to process that file, triggering the filter teardown path in gf_filter_pid_inst_swap_delete_task(). The vulnerability is triggered during PID instance swap/delete cleanup - it is not reachable via network interfaces or passive file system presence alone. Exploitation is limited to denial of service (process crash); no code execution or data exfiltration path has been identified. The non-default condition of processing attacker-controlled media files is the primary limiting factor for real-world risk.

Impact

The CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects the constrained risk profile: the attack vector is strictly local, requires low-privilege authentication, and the sole impact is availability - a crash with no confidentiality or integrity consequences. The EPSS score of 0.18% at the 7th percentile strongly suggests this vulnerability is not being exploited at scale, which aligns with the local-only attack surface and the niche developer/research audience for GPAC MP4Box. A public PoC exists on GitHub, lowering the bar for reproduction, but the requirement for local access and user-initiated file processing limits weaponization for broad campaigns. This is not in CISA KEV. The overall signal is consistent: a real bug with a real PoC, but low operational priority for most environments - primarily relevant to CI/CD pipelines, media transcoding services, or security sandboxes that run MP4Box against untrusted input. The absence of confidentiality or integrity impact further constrains blast radius to process-level crashes.

Exploit ScenarioDerived

A local user with standard system privileges places a malformed MPEG-2 TS file in a directory and invokes MP4Box -info malicious.ts or similar. During filter graph teardown, gf_filter_pid_inst_swap_delete_task() dereferences the freed pidinst object, corrupting heap state and crashing the MP4Box process. A proof-of-concept file demonstrating this crash is publicly available at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/39/39_gf_filter_pid_inst_swap_delete_task_filter_core_filter_pid_c_580.

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

Heap use-after-free in GPAC MP4Box 2.5-DEV-rev1593-gfe88c3545-master crashes the application when a local authenticated user processes a specially crafted MPEG-2 TS or MP4 file. The defect resides in gf_filter_pid_inst_swap_delete_task() within filter_core/filter_pid.c, where PID instance cleanup dereferences already-freed objects during a swap/delete operation, causing a heap corruption and denial of service. No public exploit has triggered active exploitation per CISA KEV, but a proof-of-concept is publicly available; EPSS sits at 0.18% (7th percentile), consistent with limited real-world targeting.

RemediationAI

Apply the upstream fix commits available at https://github.com/gpac/gpac/commit/976dacf65cb6986a4e4f350fb8d3ed0a17dc3a77 and https://github.com/gpac/gpac/commit/aed9c94e92e8ba362ddb29c767c519478f46f195. These commits add the !pidinst->detach_pending guard to prevent re-entry into the relinking path when a detach is already in progress. No vendor-released tagged patch version has been independently confirmed at time of analysis - the fix is available as upstream commits only (pre-release). As a compensating control, restrict MP4Box from processing untrusted or externally-supplied MPEG-2 TS and MP4 files; this fully eliminates the attack surface since the vulnerability is triggered only via file processing. In automated pipelines, sandbox MP4Box execution (e.g., via seccomp, container isolation, or a dedicated unprivileged user) so that a crash does not affect other services - the DoS impact is limited to the MP4Box process itself.

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 framework used for MP4/MPEG processing; MP4Box is its command-line muxing/demuxing tool. The vulnerable component is filter_core/filter_pid.c, specifically the task callback gf_filter_pid_inst_swap_delete_task() around lines 574-580. During filter graph teardown, when a PID instance undergoes a swap-then-delete operation, the function does not check whether a re-link is already pending (detach_pending flag), and proceeds to dereference a pidinst object after the underlying memory has been freed. This matches CWE-122 (Heap-based Buffer Overflow) in classification, though the root cause is more precisely a use-after-free (UAF) pattern - freed heap memory is accessed during callback execution triggered by crafted filter graph state. The upstream fix (commits 976dacf6 and aed9c94e) adds the guard condition else if (!pidinst->detach_pending) to prevent re-linking when a pending detach already exists, breaking the UAF trigger path. CPE data provided is non-informative (n/a), so exact version scope is bounded only by the named dev revision.

Know when N A 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.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector with low-privilege requirement matches file-processing trigger; impact is availability-only crash with no confidentiality or integrity consequence.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/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
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

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

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche open-source multimedia research and developer toolchain
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

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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