Skip to main content

GPAC MP4Box CVE-2026-134688

| EUVDEUVD-2026-132595 MEDIUM
Use After Free (CWE-416)
2026-11-22 disclosure@vulncheck.com GHSA-x65h-v9wv-64c5
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 to victim
  2. Delivery
    MP4Box BT/XMT ctxload parses BIFSConfig descriptor
  3. Exploit
    UIConfig re-encoding fails but descriptor is freed
  4. Execution
    gf_odf_delete_descriptor double-frees descriptor
  5. Impact
    Heap corruption and MP4Box 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 that MP4Box (GPAC through 26.07.0) load and process an attacker-crafted BT/XMT scene through the ctxload BT/XMT context loader, where the scene embeds an interaction-stream BIFSConfig / decoder-specific (UIConfig) descriptor constructed so that gf_odf_encode_ui_config() fails - that re-encoding failure is the specific trigger that leaves the already-handled descriptor to be freed again. Limiting factors: the vector is local (AV:L) and needs the victim to run MP4Box against the malicious file (UI:P), so there is no remote/unauthenticated network exposure; realistic targets are therefore users, build systems, or automated transcoding/ingest pipelines that feed untrusted XMT/BT input into GPAC. No special privileges are required of the attacker beyond supplying the file.

Impact

This is a local, file-parsing memory-safety flaw, not a remotely reachable or mass-exploitable one. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) is consistent with the description: an attacker must get MP4Box to process a crafted XMT scene, so delivery depends on a victim running the tool against an attacker-supplied file (UI:P / passive interaction) rather than any network exposure. The dominant impact is availability (VA:H) - a crash from the double-free - with only low confidentiality/integrity impact (VC:L/VI:L), reflecting that this is primarily a reliable crash and heap-corruption primitive rather than a demonstrated code-execution bug. No KEV listing and no EPSS score are provided, and the vuln.today decision label is 'this_month' (not act_now/emergency), so there is no signal of active or widespread exploitation; a public PoC reference exists but it is not verified as working exploit code. CWE-416 use-after-free can in principle escalate from crash to code execution, but the available sources only establish crash plus heap corruption, so treating this as remote or wormable would overstate it. Net: a genuine, confirmed-and-patched bug worth remediating on a normal patch cycle, not a drop-everything priority - its weight comes from the upstream fix and clear root cause, not from exploitation telemetry (EPSS/KEV absent).

Exploit ScenarioDerived

An attacker crafts a malicious XMT scene file containing a BIFSConfig/InteractionStream descriptor that forces UIConfig re-encoding to fail, then induces a victim or an automated media pipeline to process it with MP4Box. During ctxload_process the interaction-type decoder-specific descriptor is freed even though re-encoding failed, so gf_odf_delete_descriptor() later reuses and frees the already-freed pointer, crashing MP4Box and corrupting the heap. A public PoC reference exists but is not verified as working exploit code, and the demonstrated impact is a crash with heap corruption rather than confirmed code execution.

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

A use-after-free in GPAC's BT/XMT context loader lets a crafted XMT scene crash MP4Box and corrupt heap memory when the embedded interaction-stream BIFSConfig/UIConfig descriptor is freed even though gf_odf_encode_ui_config() re-encoding failed, after which gf_odf_delete_descriptor() frees the same descriptor again. Affected is GPAC through 26.07.0, including the MP4Box command-line tool and any pipeline that feeds untrusted XMT/BT scene input into GPAC. Triggering requires local execution of MP4Box against the malicious file with user interaction (CVSS 4.0 PR:N/UI:P, local vector), so exposure is limited to users, build systems and automated transcoding/ingest pipelines rather than remote network services; a public PoC reference exists but is not verified as working exploit code, and no confirmed active exploitation (CISA KEV) has been recorded.

RemediationAI

The upstream fix is commit d34570e3d994ede1f7fa84075fea793f8939308e (https://github.com/gpac/gpac/commit/d34570e3d994ede1f7fa84075fea793f8939308e), which conditions the gf_odf_desc_del() cleanup on a successful gf_odf_encode_ui_config() and adds a sub-graph liveness check in loader_xmt.c; because the advisory lineage covers only 'through 26.07.0', building GPAC from a source revision that includes this commit is the confirmed remedy, and a released/tagged patched version above 26.07.0 is not independently confirmed in the available data - verify the tag contents against the commit before relying on a packaged build. Track github.com/gpac/gpac/issues/3840 and the VulnCheck advisory for a tagged release. Until a patched build is deployed, the exposure described in the assessment is a local file-parsing path (AV:L with UI:P), so the practical compensating control is to avoid running MP4Box or GPAC-based ingest against untrusted or externally sourced BT/XMT scene files - quarantine or reject XMT/BT input containing BIFSConfig/UIConfig descriptors in automated transcoding pipelines - accepting that this removes legitimate scene-parsing functionality for those inputs; sandboxing or running MP4Box with reduced privileges limits the blast radius of heap corruption but does not fix the double-free itself, and no vendor-documented workaround beyond updating to the fixed code is provided in the available sources.

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 CWE-416 use-after-free in GPAC's BT/XMT scene loading path, specifically the ctxload_process() function in src/filters/load_bt_xmt.c (around lines 690-715 in v26.07.0). While parsing an XMT scene that carries a BIFSConfig descriptor, the loader builds a UIConfig descriptor (cfg) and calls gf_odf_encode_ui_config() to serialize it into esd->decoderConfig->decoderSpecificInfo. In the vulnerable code, gf_odf_desc_del() is called on cfg unconditionally, so a failed re-encoding leaves a descriptor that is later reached again through gf_odf_delete_descriptor() and freed a second time - a double-free / use-after-free of the interaction-type decoder-specific descriptor. The upstream fix at commit d34570e3d994ede1f7fa84075fea793f8939308e gates the gf_odf_desc_del() call on gf_odf_encode_ui_config() returning GF_OK, and additionally hardens src/scene_manager/loader_xmt.c by capturing the scene graph pointer at node-push time and adding an xmt_node_stack_alive() liveness check so the parser never dereferences a node whose owning PROTO sub-graph has already been destroyed by an in-band scene command. The out-of-bounds/stale-pointer consequences are heap corruption and a crash of MP4Box during processing of attacker-supplied scene data; the trigger beyond the failed UIConfig re-encoding is not described in detail 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

Local file parsing with no attacker privileges but a victim must open the crafted scene (AV:L/PR:N/UI:R); impact is chiefly a crash (A:H) with limited heap-corruption confidentiality/integrity effect (C:L/I:L).

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 use-after-free vulnerability in the BT/XMT context loader that frees an interaction-type decoder-specific descriptor even when UIConfig re-encoding fails. Attackers can supply a crafted XMT scene with a BIFSConfig descriptor, causing gf_odf_delete_descriptor() to reuse and free it again, crashing MP4Box and corrupting heap memory.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
widely used open-source multimedia packaging/streaming toolkit, common in media pipelines not everywhere
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