Skip to main content

GPAC MP4Box CVE-2026-134685

| EUVDEUVD-2026-132598 MEDIUM
Use After Free (CWE-416)
2026-11-22 disclosure@vulncheck.com GHSA-grpx-xxpv-h4mw
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 malicious XMT scene file
  2. Delivery
    Deliver file to victim operator
  3. Exploit
    Victim opens file in MP4Box
  4. Execution
    Scene replace destroys PROTO subgraph
  5. Persist
    load_xmt_done reads freed node
  6. Impact
    Crash or 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

Requires a victim to open or process a maliciously crafted XMT scene file with MP4Box (GPAC) through 26.07.0; the file must contain a scene replace command that destroys PROTO sub-graphs, so that during XMT parser teardown load_xmt_done() reads nodes already freed by that in-band command. Limiting factors: the attack vector is local (AV:L) and needs passive user interaction (UI:P) - the attacker cannot trigger it remotely and must get the operator to parse the file; the input must be XMT format exercising the specific PROTO sub-graph destruction path; and the demonstrated outcome is a crash, with heap corruption only described as 'potential' and code execution not shown in the available sources.

Impact

Signals point to a moderate, non-urgent memory-safety bug rather than a mass-exploitation priority. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) scores 6.9 Medium and is dominated by availability impact (VA:H) with only low confidentiality/integrity effects; the local attack vector plus passive user interaction (UI:P) means a victim must open an attacker-supplied XMT file in MP4Box, so this is not remotely reachable. KEV status is NO (not listed by CISA) and no EPSS score was provided, so exploitation-probability data is missing. A public PoC reference exists (github sigdevel/pocs) but it is not verified as working exploit code, so POC availability must not be read as active exploitation. The vendor vuln.today priority is 'this_month', consistent with a bug to patch on a normal cadence, not an emergency. The description itself frames impact as 'crashing MP4Box and potentially corrupting heap memory' - the word 'potentially' matters: code execution via the heap use-after-free is plausible for a CWE-416 but is NOT demonstrated in the available sources, so the realistically confirmed impact is denial of service. Net: a genuine use-after-free worth patching, but local and user-interaction-gated and primarily a crash, not a high-real-risk network-exploitable issue.

Exploit ScenarioDerived

An attacker distributes a malicious XMT scene file containing a scene replace command that destroys PROTO sub-graphs; when a victim processes it with MP4Box through 26.07.0, the XMT parser teardown in load_xmt_done() dereferences nodes already freed during the in-band scene replace, crashing the tool and potentially corrupting the heap. Exploitation is local and requires the victim to open the crafted file (UI:P). A public PoC reference 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

Heap use-after-free in GPAC MP4Box through 26.07.0 causes the tool to crash while tearing down the XMT parser after loading a crafted scene. An operator must open a malicious XMT scene containing a scene replace command that destroys PROTO sub-graphs, after which load_xmt_done() in src/scene_manager/loader_xmt.c reads nodes that the in-band command already freed; the demonstrated result is a crash (availability impact high) with heap corruption described only as potential, and confidentiality/integrity impact rated low. The assessed vector is local with passive user interaction (CVSS:3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H; CVSS 4.0 base 6.9), a public PoC reference exists but is not verified as working exploit code, and no confirmed active exploitation is indicated in the available data.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply or backport commit d34570e3d994ede1f7fa84075fea793f8939308e, which adds the graph-liveness check in load_xmt_done() and the gf_odf_encode_ui_config() error guard in load_bt_xmt.c, and track availability of a tagged release containing it via https://github.com/gpac/gpac/issues/3841. Because no fixed release version is stated in the provided data, verify the installed build against that commit before relying on it. Where an updated build cannot be deployed, the practical compensating control is to avoid processing untrusted XMT scene files with MP4Box, since the flaw is only reached when a crafted XMT scene is opened; the trade-off is that XMT/BT scene workflows must be restricted to vetted inputs, and operations that must handle third-party scenes should be run in a disposable, low-privilege, resource-limited context to contain the crash. Ordinary MP4/ISOBMFF handling is not the triggering path described in the sources, though that boundary should be confirmed against the vendor advisory before narrowing any input policy.

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 the XML textual scene-description format consumed by GPAC's scene manager, and MP4Box routes such files through src/scene_manager/loader_xmt.c (plus the BT/XMT filter in src/filters/load_bt_xmt.c). While parsing, the loader keeps a stack of nodes plus a watch list of PROTO sub-graphs; a scene replace command embedded in the file can destroy a PROTO sub-graph mid-parse, leaving stack entries pointing at freed nodes that the teardown routine then dereferences. That is the CWE-416 use-after-free class: the root cause is lifetime management of sub-graph-owned nodes across in-band scene commands, not a bounds or type error. The upstream fix (commit d34570e3) stores the owning GF_SceneGraph pointer on each stack entry at push time and adds xmt_node_stack_alive(), which checks liveness against the subgraph watch list without ever touching the possibly-freed node, so load_xmt_done() skips dead entries; the same commit also guards gf_odf_encode_ui_config() in load_bt_xmt.c so the descriptor is only freed when encoding succeeds. The available sources do not describe any heap-grooming or allocator-reuse technique beyond the crash and potential corruption, and no exploitation primitive beyond denial of service is shown.

Know when Gpac 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 (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

The file is parsed locally and requires an operator to open it, so AV:L/UI:R/PR:N; the use-after-free reliably crashes MP4Box (A:H) with only potential, unproven memory disclosure or corruption, so 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 heap use-after-free vulnerability in load_xmt_done() in src/scene_manager/loader_xmt.c that reads freed nodes during XMT parser teardown. Attackers can craft an XMT scene with a scene replace command that destroys PROTO sub-graphs, crashing MP4Box and potentially corrupting heap memory when opened.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
open-source multimedia packaging tool, common in video pipelines, not ubiquitous
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.

More in Gpac

View all
CVE-2023-46932 CRITICAL POC
9.8 Dec 09

Heap Buffer Overflow vulnerability in GPAC version 2.3-DEV-rev617-g671976fcc-master, allows attackers to execute arbitra

CVE-2023-2840 CRITICAL POC
9.8 May 22

NULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.8), this vulnera

CVE-2022-36190 CRITICAL POC
9.8 Aug 17

GPAC mp4box 2.1-DEV-revUNKNOWN-master has a use-after-free vulnerability in function gf_isom_dovi_config_get. Rated crit

CVE-2022-1795 CRITICAL POC
9.8 May 18

Use After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2021-28300 CRITICAL POC
9.8 Apr 14

NULL Pointer Dereference in the "isomedia/track.c" module's "MergeTrack()" function of GPAC v0.5.2 allows attackers to e

CVE-2020-11558 CRITICAL POC
9.8 Apr 05

An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. Rated critical severity (CVSS 9.8), this

CVE-2018-13005 CRITICAL POC
9.8 Jun 29

An issue was discovered in MP4Box in GPAC 0.7.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2023-2838 CRITICAL POC
9.1 May 22

Out-of-bounds Read in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.1), this vulnerability

CVE-2023-0841 HIGH POC
8.8 Feb 15

A vulnerability, which was classified as critical, has been found in GPAC 2.3-DEV-rev40-g3602a5ded.c. Rated high severit

CVE-2022-4202 HIGH POC
8.8 Nov 29

A vulnerability, which was classified as problematic, was found in GPAC 2.1-DEV-rev490-g68064e101-master. Rated high sev

CVE-2021-21850 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

CVE-2021-21849 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

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