Skip to main content

GPAC MP4Box EUVDEUVD-2026-132617

| CVE-2026-134666 MEDIUM
Use After Free (CWE-416)
2026-11-22 disclosure@vulncheck.com GHSA-5fhf-gmvr-q6w6
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
    User processes file with MP4Box
  3. Execution
    xmt_node_end frees node left on parser stack
  4. Impact
    gf_node_get_tag reads freed heap, crashing 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

Requires a user to process an attacker-crafted XMT file through MP4Box's XMT-A scene loader; the use-after-free is reached specifically when the freed, unattached node's text content causes xmt_text_content() to call gf_node_get_tag() on the dangling pointer. Exploitation is strongly limited by user interaction (UI:P - the victim must be persuaded to open or convert the malicious file) and by the local attack vector (AV:L - no remote/network trigger); there is no authentication requirement (PR:N). Observed impact is confined to availability (process crash / denial of service, VA:H), with no confidentiality or integrity effect in the provided evidence.

Impact

This is a medium-severity, availability-only defect: the vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VC:N/VI:N/VA:H) describes a local, low-complexity crash that requires the victim to process a crafted file, with no confidentiality or integrity impact - consistent with the description, which ends in MP4Box reading freed heap memory and crashing (CWE-416 use-after-free). No KEV listing and no EPSS score are provided, so there is no signal of active or widespread exploitation; the vuln.today Decision label is 'this_month', not act_now or emergency, which aligns with a user-interaction-gated DoS rather than an urgent threat. A public PoC reference exists (a sample .xmt file in a third-party repo) but it is not verified as working exploit code, so POC availability must not be read as confirmed exploitation. Net: a real but modest priority - patch on a normal cycle. The main caveat is impact scope: although CWE-416 use-after-free classes can sometimes be escalated beyond a crash, the supplied evidence (description and CVSS) characterizes this only as a freed-memory read and crash, so there is no basis in the provided data to claim code execution.

Exploit ScenarioDerived

An attacker crafts a malicious XMT file and persuades a user to process it with MP4Box; xmt_node_end() frees an unattached node while leaving it on the parser node stack, so xmt_text_content() later passes the dangling pointer to gf_node_get_tag(), reading freed heap memory and crashing the tool. Exploitation is local and low-complexity but gated on user interaction (the victim must open/convert the file). A public PoC .xmt file is referenced but 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

A use-after-free in GPAC's XMT-A scene loader (loader_xmt.c) allows a crafted .xmt scene file to crash MP4Box when the tool parses it. The defect is triggered when xmt_node_end() frees an unattached node that is still referenced on the parser's node stack, and the node's text content later causes xmt_text_content() to hand the dangling pointer to gf_node_get_tag(), producing a read of freed heap memory and process termination. Impact is availability only (no confidentiality or integrity effect in the available evidence); the attack is local (AV:L) and requires the victim to be persuaded to open or convert a malicious file (UI:P), with no authentication needed (PR:N). The upstream project has published a fix commit, and a public PoC reference exists (a crafted .xmt sample hosted in a GitHub PoC repository); it is not verified as working exploit code, and the issue is not listed as actively exploited.

RemediationAI

Apply the upstream fix commit https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf (Upstream fix available (PR/commit); released patched version not independently confirmed), which corrects xmt_discard_node/xmt_discard_subtree handling in src/scene_manager/loader_xmt.c, cleans up parser node-stack and command-buffer state in the XMT loader, and adds a prototype instantiation depth limit in src/scenegraph/vrml_proto.c; rebuild MP4Box from a tree that includes it, and track https://github.com/gpac/gpac/issues/3777 and the VulnCheck advisory https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-use-after-free-via-xmt-text-content for a tagged release containing the change. Because no patched release version is confirmed and the only described impact is a crash reached through the XMT-A loader, the practical interim control is to avoid running MP4Box on .xmt files from untrusted or unsolicited sources (for example, when converting scene descriptions, restrict the pipeline to trusted inputs and keep such conversions out of automated processing of third-party content), accepting that this removes XMT scene conversion capability for untrusted material rather than eliminating the underlying defect. No other mitigation is described in the available sources.

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, including the XMT-A textual (XML) representation of scene graphs, parsed by a SAX-style handler in src/scene_manager/loader_xmt.c that builds GF_Node objects and tracks them in a parser node stack. The root cause is CWE-416: in xmt_node_end(), a node that has not been attached to the scene graph is freed, yet the corresponding stack entry is left in place, so the parser continues to reference a deallocated GF_Node. When the freed node's text content is handled, xmt_text_content() passes that dangling pointer into gf_node_get_tag() in the scenegraph base, dereferencing freed heap memory. The referenced lines (loader_xmt.c#L3276-L3281 and #L3290-L3306 of tag v26.07.0) are the parser paths involved. The upstream fix commit 3e535640b48ed3218e74929cbf3e42250fce3ddf reworks node discarding (xmt_discard_node now drops the subtree and removes OD links, with a depth cap of 512 on xmt_remove_od_links_recursive), cleans up stale entries in the peeked/def node lists, unwinds nested command buffers and prototype parsing state, and additionally adds a 256-level instantiation-depth guard in src/scenegraph/vrml_proto.c, indicating the fix also hardens related recursion and stack-unwinding paths in the same parser. The exact call sequence required to reach the fault is described in the disclosure and the linked source lines; the freed node must remain on the stack while its text content is processed.

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.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 crafted-file parsing with no auth (AV:L/PR:N), victim must open the file (UI:R), and the only impact is a crash, 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 a use-after-free vulnerability in the XMT-A scene loader because xmt_node_end() frees unattached nodes but leaves them on the parser node stack. Attackers can persuade users to process a crafted XMT file whose text content makes xmt_text_content() pass the freed node to gf_node_get_tag(), reading freed heap memory and crashing MP4Box.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source multimedia packaging/CLI tool used mainly by media engineers
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