Skip to main content

GPAC MP4Box CVE-2026-132772

| EUVDEUVD-2026-129344 MEDIUM
Use After Free (CWE-416)
2026-11-18 VulnCheck GHSA-c9wg-wjc6-9vgx
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 parses file with MP4Box
  3. Exploit
    Parse error frees InputSensor node
  4. Execution
    xmt_node_start writes NULL into freed memory
  5. Impact
    Heap corruption crashes MP4Box

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 a victim to process an attacker-supplied crafted XMT scene file with MP4Box (versions before 26.07.0); the trigger is a deliberate parse error in the InputSensor handling so that xmt_node_start() (loader_xmt.c around line 2655) writes NULL through parser->command_buffer, which still points into the freed InputSensor node. Limiting factors: the vector is LOCAL (AV:L) and needs user/operator interaction (UI:P) to run MP4Box on the malicious file - there is no remote network trigger and no network service is involved; exploitation is confined to the XMT/scene-loader code path, so only workflows that parse untrusted XMT content are affected. Authentication is not a gating factor (PR:N), but delivery depends on getting the file processed. The complete fix is upgrading to 26.07.0, which adds subtree discard and command-buffer cleanup to prevent the dangling reference.

Impact

This is a medium-severity, availability-focused memory-safety bug rather than a top-tier priority. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) scores 6.9 and is internally consistent with the description: exploitation is LOCAL (the attacker must get a crafted XMT scene file in front of MP4Box), requires passive user interaction (UI:P - a victim running MP4Box on the file), and the dominant impact is availability (VA:H) via heap corruption and a crash, with only low confidentiality/integrity impact (VC:L/VI:L) incidental to the heap write. This is NOT a remote network-exploitable RCE despite being CWE-416. It is not on CISA KEV, so there is no confirmed active exploitation. EPSS was not provided and cannot be cited. A PoC reference is listed (sigdevel/pocs) but is not verified as working exploit code, so it should not be read as a reliable exploitation signal. The vendor priority label is 'this_month' - meaningful but explicitly not an act_now/emergency. The practical risk is to automated or batch media-processing pipelines that feed untrusted XMT/scene files to MP4Box, where the realistic outcome is a denial of service (crash) rather than code execution. Missing data: no EPSS, no confirmed working exploit, and the heap-write primitive's exploitability beyond a crash is not established by the sources.

Exploit ScenarioDerived

An attacker crafts a malformed XMT scene file whose InputSensor node triggers a parse error; when a victim processes it with MP4Box (e.g., in a media conversion or ingest pipeline), xmt_node_start() writes NULL into the already-freed node that parser->command_buffer still references, corrupting the heap and crashing the tool. A public PoC reference exists but is not verified as working exploit code, so the demonstrated outcome is a denial-of-service crash rather than confirmed code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Use-after-free in the XMT scene parser of GPAC MP4Box before 26.07.0 lets a crafted XMT scene file corrupt the heap and crash the tool: a deliberate parse error frees an InputSensor node while parser->command_buffer still points into it, and xmt_node_start() then writes NULL through that dangling pointer. The weakness is confined to workflows where a user or operator opens attacker-supplied XMT content with MP4Box (the assessed vector is local with user interaction, no network service), so impact is primarily availability (A:H) with limited confidentiality and integrity effects. Exploitation is not confirmed as active (no CISA KEV listing), and a public PoC reference exists but is not verified as working exploit code; the complete fix is GPAC 26.07.0.

RemediationAI

Vendor-released patch: upgrade to GPAC/MP4Box 26.07.0 (release https://github.com/gpac/gpac/releases/tag/v26.07.0), which contains commit 41ce91ded3aad83ca7139bd00e3ee9ff4cd7796a adding xmt_discard_subtree(), command-buffer unwinding and OD-link cleanup so parser->command_buffer can no longer dangle into a freed InputSensor node; this is the complete fix per the vendor, and there is no partial code change that removes the trigger. Because the assessed vector is local with user interaction (a victim must run MP4Box on a crafted XMT file), the practical interim control is to avoid parsing untrusted .xmt scene content with MP4Box until the upgrade is deployed, or to run such conversions inside a sandboxed, disposable process with resource limits so a heap corruption crash cannot affect production data - accepting that this only reduces blast radius and does not remove the memory-safety bug. Parsing pipelines that accept XMT from external parties should be the first to be upgraded; GPAC builds restricted to non-XMT inputs are not exposed through this code path.

Affected VersionsENISA

GPAC 0 <26.07.0

Affected Packages

euvd gpac fix: 26.07.0

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 CWE-416 (use-after-free) in src/scene_manager/loader_xmt.c, the SAX-driven XMT scene loader inside GPAC's scene manager. While parsing an XMT command/tag sequence, the parser maintains parser->command_buffer (an SFCommandBuffer pointer) as a stack of active command buffers, together with a command_buffer_depth counter and parallel structures such as the node stack, def_nodes, peeked_nodes and unresolved_routes. When a parse error causes an InputSensor-containing node to be discarded, the InputSensor is freed, but parser->command_buffer is left pointing into the freed node. xmt_node_start() (around line 2655 in the affected code) later dereferences that stale pointer and writes NULL into the reclaimed memory, corrupting the heap and aborting MP4Box. The upstream fix commit 41ce91ded3aad83ca7139bd00e3ee9ff4cd7796a hardens the parser on several fronts: a new referencing_commands list of GF_SceneGraph** entries is added to struct __tag_scene_graph in include/gpac/internal/scenegraph_dev.h; a new xmt_discard_subtree() walks SFNode/MFNODE fields and SFCommandBuffer lists to unwind command-buffer nesting (setting each buffer's ->buffer to NULL) and clear stacked parser state; a new xmt_remove_od_links_recursive() prunes OD links for nodes whose effective instance count drops to one; and additional cleanup was added in xmt_node_end() and in the DEF-node handling of xmt_parse_command(). The CPE cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:* reflects that the flaw is version-bounded rather than tied to a specific build or platform.

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

Local crafted-file trigger needing a victim to run MP4Box gives AV:L/UI:R/PR:N; impact is chiefly a crash (A:H) with only incidental C:L/I:L from the freed-memory write.

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 before 26.07.0 contains a use-after-free vulnerability in the XMT parser that leaves parser->command_buffer pointing into a freed InputSensor node. Attackers can supply a crafted XMT scene file triggering a parse error so xmt_node_start() writes NULL into freed memory, corrupting the heap and crashing MP4Box.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
GPAC/MP4Box is a popular open-source media toolkit, common in processing pipelines but 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.1%
Patch available Yes
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