Skip to main content

GPAC MP4Box CVE-2026-134676

| EUVDEUVD-2026-132607 MEDIUM
Use After Free (CWE-416)
2026-11-22 disclosure@vulncheck.com GHSA-q56j-3frg-6cxr
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted XMT scene file
  2. Delivery
    Victim opens file in MP4Box
  3. Exploit
    Scene command deletes Background2D node
  4. Execution
    Deferred task frees object manager early
  5. Persist
    gf_odm_disconnect() reuses freed pointer
  6. Impact
    Heap corruption and process crash

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 the victim to open or process an attacker-crafted XMT scene file with GPAC/MP4Box, and the scene must issue commands that delete a Background2D node, which triggers the deferred scene_ns_remove_object task to free the object manager before gf_odm_disconnect() in src/compositor/object_manager.c reuses the now-dangling raw pointer. Limiting factors that reduce real-world risk: the attack vector is local (AV:L) and depends on user interaction (UI:P) - the target must be induced to process the malicious scene - so there is no remote, unauthenticated, zero-click path; exploitation is confined to builds at or before version 26.07.0 that handle this XMT scene/compositor code path.

Impact

This is a moderate-severity, local-vector memory-safety bug, not a remotely exploitable emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) and the 6.9 score agree that exploitation is local and requires the victim to passively process attacker-supplied content (UI:P), with impact dominated by availability (VA:H, i.e. the documented process crash) and only low confidentiality/integrity impact from heap corruption. There is no KEV listing and no EPSS score in the input, so there is no signal of active or widespread exploitation; a public PoC reference exists but is not verified as working exploit code, so this should be treated as a demonstrable crash rather than a proven code-execution exploit. The vuln.today decision label is 'this_month', consistent with a real but non-urgent fix priority. Key missing data: no EPSS probability and no SSVC automatable/technical-impact decision were provided, so widespread-exploitation likelihood cannot be quantified; and while CWE-416 use-after-free can in principle lead to code execution, the available sources only substantiate a crash plus heap corruption, so RCE should not be presented as confirmed.

Exploit ScenarioDerived

An attacker crafts a malicious XMT scene file whose scene commands delete a Background2D node, and delivers it to a victim who opens or processes it with GPAC/MP4Box. During teardown, gf_odm_disconnect() operates on an object manager already freed early by a deferred scene_ns_remove_object task, producing a use-after-free that crashes the process and corrupts the heap. A public PoC reference exists but is not verified as working exploit code, so the demonstrated outcome is denial of service with potential for further memory corruption.

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 – Nov 22, 2026

Heap use-after-free in GPAC's compositor object manager (gf_odm_disconnect() in src/compositor/object_manager.c) allows a crafted XMT scene to crash MP4Box or any libgpac-based compositor build and to corrupt heap memory: scene commands that delete a Background2D node leave a deferred scene_ns_remove_object task holding a raw object manager pointer, which is dereferenced after the object manager has already been freed. Builds through 26.07.0 that process XMT scenes are affected, and exploitation requires the target to open or process the attacker-supplied scene - the assessed vector is local with user interaction (CVSS 4.0 scores 6.9; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H), so there is no remote, unauthenticated, zero-click path. A public PoC reference exists in a third-party proof-of-concept repository, but it is not verified as working exploit code, and no confirmed active exploitation (CISA KEV) is associated with this CVE; the local vector and user-interaction requirement make this a moderate-severity memory-safety bug rather than a remotely exploitable emergency, so remediation can be scheduled within the normal monthly cycle.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed: commit f6e7fdaab515a4e70094f6cf3068ddac20edf7c5 (https://github.com/gpac/gpac/commit/f6e7fdaab515a4e70094f6cf3068ddac20edf7c5) adds the has_pending_remove_task deferral and GF_ODM_DESTROYED guards in src/compositor/object_manager.c and src/compositor/scene_ns.c, the referring-proto tracking in src/scenegraph/base_scenegraph.c, and the recursive od-link cleanup in src/scene_manager/loader_xmt.c; builds must be rebuilt from a source revision that contains this commit, and no tagged release number that incorporates it is confirmed in the supplied data, so track GPAC issue #3835 and the VulnCheck advisory for a released version. Until such a build is deployed, the actionable compensating controls follow from the exploitation preconditions: do not process untrusted XMT/MPEG-4 scene files with MP4Box or compositor-enabled libgpac applications (this removes the attack path entirely, at the cost of losing batch processing/playback of externally supplied scenes), and where such processing is unavoidable, run it inside a sandboxed or containerized worker with memory limits and crash isolation so that the use-after-free manifests only as a contained process abort rather than host heap corruption, accepting reduced throughput and the need to restart workers. Instrumented (ASan) builds are useful for confirming exposure of a given deployment during testing. Note that the supplied PoC link (github.com/sigdevel/pocs) is a reference only and is not verified as working exploit code; no confirmed active exploitation is reported.

Affected VersionsENISA

GPAC 0 ≤26.07.0

Affected Packages

euvd gpac no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The flaw is a use-after-free (CWE-416) in GPAC's compositor, the subsystem that turns an MPEG-4 scene graph into media pipelines. Each media object in a scene is tracked by a GF_ObjectManager (struct _od_manager in include/gpac/internal/compositor_dev.h), which owns the object's media control and is torn down through gf_odm_disconnect() in src/compositor/object_manager.c. The scene namespace layer (src/compositor/scene_ns.c) binds scene nodes to object managers and, instead of destroying an object manager synchronously, posts a deferred scene_ns_remove_object task that keeps a raw (non-refcounted) odm pointer for later use. When a crafted XMT scene issues commands that delete a Background2D node, the object manager can be freed through the disconnect path before that deferred task runs, leaving the task to operate on freed memory - the crash and heap corruption described in the advisory. The XMT side is reached through the MPEG-4 XMT textual scene loader (src/scene_manager/loader_xmt.c), where xmt_node_end previously called the non-recursive xmt_remove_od_links_for_node. The upstream fix commit f6e7fdaab515a4e70094f6cf3068ddac20edf7c5 addresses the ordering problem directly: it adds a has_pending_remove_task flag to _od_manager so freeing is deferred while a remove task is queued, adds GF_ODM_DESTROYED guards in gf_odm_reset_media_control and gf_odm_disconnect, and teaches gf_scene_ns_del / gf_scene_ns_connect_object to mark and respect that state. The same commit also hardens the scenegraph layer by adding a referencing_protos list to struct _nodepriv (purged in drop_nested_node_codes), preventing a node shared across proto node_code lists from being force-freed during another proto's gf_sg_reset teardown, and switches the XMT loader to a recursive od-link removal. The supplied patch diff consists largely of whitespace/formatting churn, so only the flag, guard and list additions are functionally relevant. Beyond the Background2D-node deletion precondition stated in the description, the precise instruction sequence needed to win the free-before-task ordering is not described in the available sources.

Know when the next one hits your stack

  • 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 (vulncheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.6 MEDIUM

File must be opened by the victim, so AV:L and UI:R with PR:N; impact is primarily a crash (A:H) with low confidentiality/integrity from heap corruption.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GPAC MP4Box through 26.07.0 contains a heap use-after-free vulnerability in gf_odm_disconnect() in src/compositor/object_manager.c caused by a deferred scene_ns_remove_object task holding a raw object manager pointer. Attackers can supply a crafted XMT scene whose commands delete a Background2D node, freeing the object manager early to crash the process and corrupt heap memory.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
GPAC/MP4Box is a popular open-source multimedia toolkit, common but not universally deployed
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

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