Skip to main content

GPAC MP4Box CVE-2026-130831

| EUVDEUVD-2026-127271 MEDIUM
Use After Free (CWE-416)
2026-11-17 VulnCheck GHSA-xfcr-j2gx-qv6f
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
    Victim processes file with MP4Box
  3. Exploit
    xmt_parse_element frees reused DEF/USE node
  4. Execution
    xmt_text_content accesses freed node
  5. Impact
    Process crash and possible 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 that MP4Box (the GPAC command-line tool) parse an attacker-supplied XMT-A scene file in which the same node identifier is both defined (DEF) and reused (USE) - that specific def/use collision is the trigger handled in xmt_parse_element(). Limiting factors: the vector is local (AV:L) and requires user interaction (UI:P/passive) - the victim must be induced to process the malicious file; there is no network-reachable attack surface and no authentication is involved (PR:N). The primary outcome is a process crash; heap corruption is described only as a possibility, so reliable higher-impact exploitation is not established.

Impact

This is a moderate, file-parsing memory-safety flaw that does not rise to emergency priority. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) describes a locally-scoped attack: an attacker cannot reach the code remotely but must get a victim to process a malicious XMT scene file with MP4Box, and the dominant impact is availability (VA:H, i.e. a crash) with only low confidentiality/integrity impact (VC:L/VI:L). The CWE-416 use-after-free and the description note 'possibly corrupting heap memory', so code execution is a theoretical but unconfirmed upside for the attacker - the evidence does not demonstrate controlled exploitation beyond a crash. All exploitation signals point low-to-moderate: SSVC reports Exploitation 'none', Automatable 'no', and Technical Impact 'partial'; there is no KEV listing and no EPSS score was provided. A PoC reference exists (a sample .xmt crash file in a public repo) but it is not verified as working exploit code, so it should be treated as a crash reproducer rather than a weaponized exploit. The vendor priority label is 'this_month', consistent with a real but non-urgent defect. Net: a genuine bug worth patching on a routine cycle, not a high-CVSS-but-no-real-risk illusion and not an actively-exploited emergency. Note the EPSS score is missing from the input, so probabilistic exploitation likelihood could not be cross-checked.

Exploit ScenarioDerived

An attacker crafts a malicious XMT-A scene file that both defines and reuses the same node identifier, then delivers it to a victim (e.g., via download or as a media asset) who processes it with MP4Box. When xmt_text_content() later accesses the already-freed node, the process crashes and heap memory may be corrupted. A public PoC .xmt sample reproducing the crash exists but is not verified as working exploit code, so demonstrated impact is denial of service rather than confirmed code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% 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 GPAC's XMT-A scene-graph loader lets an attacker crash MP4Box and potentially corrupt heap memory by supplying a scene file in which the same node identifier is both defined and reused; every GPAC build before 26.07.0 is affected. The attack is local and requires the victim to open a crafted XMT file (CVSS 4.0 base 6.9; independently assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R with C:L/I:L/A:H), so the established outcome is a process crash, with heap corruption described only as a possibility rather than demonstrated reliable code execution. A public PoC file reference exists but is not verified as working exploit code, CISA SSVC records exploitation as none with no automatable path, and the vuln.today priority is this_month - a moderate file-parsing memory-safety issue rather than an emergency.

RemediationAI

Vendor-released patch: GPAC 26.07.0. Upgrading to the v26.07.0 release (https://github.com/gpac/gpac/releases/tag/v26.07.0) incorporates commit e87dff25aa91f9a52d8857b4d8558c93960c9522, which is the specific upstream fix; rebuild or reinstall MP4Box from that tag rather than relying on an older packaged build. Vendor and tracker references are https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-via-xmt-parse-element-def-use-handling and https://github.com/gpac/gpac/issues/3620. No vendor-documented workaround is provided - updating is the only complete fix - so as an interim compensating control, stop feeding untrusted XMT-A scene files to MP4Box (accept only trusted or pre-validated scene descriptions, or convert via a format the loader does not exercise), and run any required conversions inside a low-privilege, memory-limited container or job runner; the trade-off is that input restriction blocks legitimate processing of third-party XMT content, and the sandbox only limits the blast radius of a crash or heap corruption without removing the underlying memory-safety defect.

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

GPAC parses XMT-A, the textual XML encoding of MPEG-4 scene descriptions, through a SAX-style XML parser in src/utils/xml_parser.c driven by callbacks in src/scene_manager/loader_xmt.c - principally xmt_parse_element(), xmt_text_content() and xmt_node_end(). Scene-graph nodes are reference counted with gf_node_register()/gf_node_unregister(), and the DEF/USE construct lets a scene element define a node identifier and later elements reference it. When an XMT-A element reuses an identifier that was already defined as the same node, the DEF/USE bookkeeping in xmt_parse_element() (the affected code is in the v26.02.0 source around loader_xmt.c#L1826-L1866) unregisters a node that is still referenced, and the subsequent xmt_text_content() access touches the freed allocation - the classic CWE-416 use-after-free root cause. The upstream fix commit e87dff25aa91f9a52d8857b4d8558c93960c9522 addresses the lifetime handling directly: it adds identity guards (node != undef_node, node != def_node) around the register/unregister pairs, adds node null checks before the tag/proto handling and playback-path logic, registers the node in xmt_node_end(), deduplicates nodes unregistered during load_xmt_done() using a cleaned_nodes list so a shared node is released only once, and adds an integer-overflow guard (size >= GF_UINT_MAX - nl_size - 1) in xml_sax_append_string(). The trigger is a malformed DEF/USE collision; per the available sources the flaw is reachable only when MP4Box processes an attacker-supplied XMT scene file.

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 file must be processed by MP4Box (AV:L, UI:R); no privileges needed (PR:N); use-after-free primarily crashes the process (A:H) with limited heap-disclosure/corruption potential (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 before 26.07.0 contains a use-after-free vulnerability in xmt_parse_element() that allows attackers to corrupt memory by supplying XMT-A elements that define and use the same node identifier. Attackers can craft an XMT scene file processed by MP4Box so xmt_text_content() accesses the freed node, crashing the process and possibly corrupting heap memory.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
GPAC/MP4Box is a popular open-source multimedia framework, but not universally deployed
Exploit
POC
Public exploit code exists
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 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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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