Skip to main content

GPAC MP4Box CVE-2026-134692

| EUVDEUVD-2026-132591 MEDIUM
Use After Free (CWE-416)
2026-11-22 disclosure@vulncheck.com GHSA-fg7f-9wwp-mq38
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft XMT scene reusing PROTO node
  2. Delivery
    Deliver file to MP4Box user/pipeline
  3. Exploit
    Parser resolves DEF name across graphs
  4. Execution
    gf_node_unregister reads freed memory
  5. Impact
    MP4Box crash and heap corruption

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 an attacker to get MP4Box (GPAC through 26.07.0) to load and process a crafted XMT scene file that reuses a PROTO node (DEF name) across scene graphs; the trigger is the DEF-name lookup in xmt_find_node() failing to verify the node belongs to the current scene graph, with the use-after-free firing in gf_node_unregister() during scene teardown. Limiting factors: the vector is LOCAL (AV:L) and requires user interaction (UI:P) - the victim or a server-side pipeline must actually process the malicious XMT input; it is not remotely or automatically triggerable, requires no privileges or authentication (PR:N), and the confirmed impact is a crash with heap corruption (availability-dominant) rather than demonstrated remote code execution.

Impact

This is a moderate-severity memory-safety bug, not a priority emergency. The CVSS 4.0 vector (AV:L/AC:L/PR:N/UI:P) tells the real story: exploitation is LOCAL and requires the victim to process an attacker-crafted XMT scene file in MP4Box - there is no network vector and no automated/remote trigger. The dominant impact is availability (VA:H: a crash), with only low confidentiality and integrity impact (VC:L/VI:L), consistent with a use-after-free that reads freed memory and corrupts the heap during teardown rather than a demonstrated code-execution primitive. No CISA KEV listing and no EPSS score are provided, so there is no evidence of active or widespread exploitation. The input provides a public PoC reference, but it is explicitly not verified as working exploit code. The vuln.today decision label is 'this_month' (routine patch cadence), which aligns with the local, user-interaction-gated profile. Net: a legitimate crash/heap-corruption defect worth patching on a normal cycle, not a high-CVSS-but-low-real-risk mislabel, but also not an under-rated emergency - the local attack vector and required user interaction are the key limiting factors.

Exploit ScenarioDerived

An attacker crafts a malicious XMT scene file that reuses a PROTO node across scene graphs and delivers it to a victim (e.g., bundled with media, or submitted to a server-side media-processing pipeline). When MP4Box loads and later tears down the scene, xmt_find_node() resolves a DEF name to a node from the wrong graph, and gf_node_unregister() reads freed memory, crashing the process and corrupting the heap. A public PoC reference exists; it is not verified as working exploit code, so demonstrated impact is denial of service 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

Use-after-free in GPAC MP4Box through 26.07.0 allows an attacker who supplies a crafted XMT scene file to crash the tool and corrupt heap memory during scene teardown. The flaw sits in the DEF-name lookup performed by xmt_find_node(), which can return a node belonging to a different scene graph when a PROTO node is reused across graphs, so gf_node_unregister() later operates on freed memory. The vector is local with user interaction (CVSS:3.1/AV:L/AC:L/PR:N/UI:R), meaning MP4Box must actually be made to process the malicious XMT input; impact is availability-dominant (A:H) with only limited confidentiality and integrity effects, and no remote code execution has been demonstrated. A public PoC reference exists; it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation.

RemediationAI

The complete fix is the upstream commit c3aa04432e63e0f19b41f5c898a9073eaf6b5815 (https://github.com/gpac/gpac/commit/c3aa04432e63e0f19b41f5c898a9073eaf6b5815), which extends the xmt_find_node() name comparison to require that n->sgprivate->scenegraph equals parser->load->scene_graph so DEF lookups can no longer resolve to nodes in another graph; the change is small and straightforward to backport into any embedded or vendored GPAC copy. Upstream fix available (PR/commit); a released patched version number is not confirmed by the supplied data, so treat the commit itself, or the first project tag containing it, as the target and verify against gpac/gpac issue 3865 (https://github.com/gpac/gpac/issues/3865) and the VulnCheck advisory for release status. Until a patched build is deployed, the effective stopgap is to stop MP4Box and any GPAC-based pipeline from importing XMT scene descriptions supplied by untrusted parties (for example, refusing attacker-controlled .xmt input and gating the XMT import path behind trusted, pre-validated content), accepting that this removes legitimate XMT import functionality; running MP4Box under a sandbox or memory-safe wrapper limits the blast radius of the teardown crash and heap corruption but does not fix the underlying use-after-free. Note that the crash occurs during scene teardown, so simply keeping the process short-lived does not avoid the fault - the malformed input still has to be rejected or the code still has to be patched.

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

GPAC implements MPEG-4 systems tooling, and MP4Box is its command-line muxer/dumper, which can import scene descriptions written in XMT - an XML dialect used to express MPEG-4/VRML-style scene graphs with DEF-named nodes and PROTO prototypes. Internally, nodes are registered in a scene graph and reference-counted through lifecycle helpers; gf_node_unregister() in the scenegraph base layer releases a node and its associated memory. The defect (CWE-416) is a missing ownership check in xmt_find_node() in src/scene_manager/loader_xmt.c (around lines 720-733 in v26.07.0): the function simply compares the node's name against the requested ID with strcmp() and returns the first match, without confirming that the resolved node's sgprivate->scenegraph is the parser's current load->scene_graph. When a crafted XMT scene reuses a PROTO/DEF name across graphs, a lookup can therefore hand back a node from a foreign graph; during teardown, gf_node_unregister() acts on that stale reference and reads freed memory, crashing MP4Box and corrupting heap state. The upstream fix adds exactly that ownership comparison to the lookup condition, which ties the resolution to the node's graph membership rather than name alone. The trigger path is confirmed by the supplied commit diff and issue; the specific input that produces the reuse is only described at the level of the crafted XMT scene, and no CPE strings were included in the provided data, so affected builds are identified from the v26.07.0 source references and the vendor advisory rather than from CPE enumeration.

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-processing bug (AV:L) needing a victim to open a crafted XMT scene (UI:R), no auth (PR:N); impact is mainly a crash/heap corruption (A:H) with limited C/I from freed-memory reads.

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 because xmt_find_node() in loader_xmt.c resolves DEF names without verifying the node belongs to the current scene graph. Attackers can craft an XMT scene reusing a PROTO node across graphs, causing gf_node_unregister() to read freed memory during teardown, crashing MP4Box and corrupting heap memory.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular open-source multimedia framework/tool, but niche XMT scene feature
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