Skip to main content

GPAC MP4Box CVE-2026-134683

| EUVDEUVD-2026-132600 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-11-22 disclosure@vulncheck.com GHSA-2c8v-q6hh-9jm4
6.8
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 file to victim
  2. Exploit
    Victim imports file with MP4Box
  3. Execution
    Unbounded recursion in xmt_remove_od_links_recursive
  4. Impact
    Stack exhaustion crashes process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires an attacker to supply a crafted XMT scene file with deeply nested or cyclic node and SFCommandBuffer references, and requires MP4Box (GPAC through 26.07.0) to import/parse that file - i.e., victim-side processing of attacker-controlled input (UI:P in the CVSS 4.0 vector). Limiting factors: the vector is local (AV:L), not remotely reachable on its own; user/pipeline interaction to run the import is required; and the impact is confined to a process crash (availability only) with no code execution, data disclosure, or integrity impact. Realistic exposure is highest where MP4Box ingests untrusted XMT files automatically, such as transcoding or scene-import pipelines.

Impact

This is a medium-severity, availability-only denial of service with a realistic but constrained risk profile. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) tells a consistent story: exploitation is local and requires passive user interaction - a victim must run MP4Box against an attacker-supplied XMT file - and the only impact is a crash (VA:H), with no confidentiality or integrity impact. CWE-674 (uncontrolled recursion) and the source evidence confirm the mechanism: xmt_remove_od_links_recursive() walked node children with no depth limit, so deeply nested or cyclic node/SFCommandBuffer references exhaust the stack. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the signals: not a remote-exploitable RCE, availability-only, and no active-exploitation evidence. A public PoC reference exists (a crafted .xmt sample in the sigdevel/pocs repository); it is not verified as working exploit code, so POC availability must not be read as confirmed exploitation. There is no CISA KEV listing and no EPSS score in the supplied data. Net: a genuine but low-urgency DoS - meaningful for anyone running MP4Box over untrusted XMT input in automated pipelines, but not a widespread or high-priority emergency.

Exploit ScenarioDerived

An attacker crafts an XMT file containing deeply nested or cyclic node and SFCommandBuffer references and gets it onto a system where MP4Box will import it - for example an automated media-ingestion or transcoding pipeline accepting user-supplied scene files. When MP4Box parses the file, xmt_remove_od_links_recursive() recurses without a depth limit until the stack is exhausted, crashing the process. A public PoC reference (a sample .xmt file) exists but is not verified as working exploit code.

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

Stack exhaustion in GPAC MP4Box through 26.07.0 lets an attacker crash the tool by supplying a crafted XMT scene file containing deeply nested or cyclic node and SFCommandBuffer references. The root cause is uncontrolled recursion (CWE-674) in xmt_remove_od_links_recursive() in loader_xmt.c, reached when MP4Box imports the malicious scene; the assessed vector is local (AV:L) with user interaction (UI:R/UI:P) and availability-only impact - no confidentiality or integrity effect and no code execution. A public PoC reference exists in a third-party repository; it is not verified as working exploit code, and there is no evidence of active exploitation. The priority label places this in this-month remediation rather than emergency response.

RemediationAI

Upstream fix available (commit); a released patched version is not independently confirmed in the supplied data. Apply commit https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf (or any GPAC build that contains it), which adds the depth > 512 cutoff in xmt_remove_od_links_recursive(), the GF_MAX_PROTO_INSTANTIATION_DEPTH 256 cycle check in vrml_proto.c, and corrected command-buffer/proto unwinding, then verify the imported binary actually reflects the fix rather than only rebuilding an older tag. Because the flaw is triggered only when MP4Box imports an attacker-supplied XMT file (local vector, user/pipeline interaction, availability-only impact), the interim control is to stop feeding untrusted XMT scenes to MP4Box: reject or quarantine XMT input at the pipeline boundary and convert only from trusted sources until a patched build is deployed. Where untrusted XMT must still be handled, run MP4Box in a disposable sandboxed worker with a reduced stack limit (for example ulimit -s) and restart-on-failure supervision, accepting that this contains the crash but does not remove the flaw. Consult https://github.com/gpac/gpac/issues/3792 and https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-uncontrolled-recursion-via-xmt-remove-od-links-recursive for vendor status updates.

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

XMT is GPAC's XML-based textual scene description format (the textual counterpart of the MPEG-4 X3D/VRML scene graph), parsed by a SAX-style loader in src/scene_manager/loader_xmt.c that builds GF_Node graphs, prototype (PROTO) instances, routes, and SFCommandBuffer command lists. The vulnerable region (lines ~1598-1642 of the v26.07.0 source) is the cleanup path xmt_remove_od_links_recursive(), which walks node children, list entries, and command nodes to strip object-descriptor links without carrying any depth counter - so a crafted file with deeply nested nodes or cyclic references (for example a node reachable again through an SFCommandBuffer command) recurses until the thread stack is exhausted and the process crashes. This is CWE-674 (Uncontrolled Recursion), an availability-only weakness. The upstream fix (commit 3e535640b48ed3218e74929cbf3e42250fce3ddf) threads a u32 depth argument through every recursive call and stops at depth > 512, reworks xmt_discard_node() to call xmt_discard_subtree() before unlinking, and adds a parallel guard in src/scenegraph/vrml_proto.c: GF_MAX_PROTO_INSTANTIATION_DEPTH 256 plus gf_sg_proto_instantiation_would_cycle() to stop proto-instantiation cycles. It also reworks command-buffer unwinding with a command_buffer_depth counter and adds parsing_proto unwind logic, i.e. the same recursive/cyclic shapes were addressed in more than one parser path.

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.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local file parsing requires the victim to run MP4Box on a crafted file (AV:L, UI:R); no privileges needed (PR:N); impact is a crash only, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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
None
Vulnerable system: Integrity
None
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 an uncontrolled recursion vulnerability in xmt_remove_od_links_recursive() in loader_xmt.c that lacks any depth limit when walking node children. Attackers can supply a crafted XMT file with deeply nested or cyclic node and SFCommandBuffer references to exhaust the stack and crash MP4Box on import.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche open-source command-line multimedia packaging tool, specialist media-pipeline use
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

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