Skip to main content

GPAC MP4Box CVE-2026-134667

| EUVDEUVD-2026-132616 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-11-22 disclosure@vulncheck.com GHSA-q8j2-32vq-2w2q
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 with over-long OD URL fragment
  2. Delivery
    Deliver file to victim user
  3. Exploit
    Victim loads file in MP4Box
  4. Execution
    sprintf overflows 5000-byte szURL buffer
  5. Impact
    Stack corruption crashes MP4Box

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to load an attacker-supplied XMT scene file in MP4Box (through version 26.07.0); this is local, client-side processing, not a network service, so the attacker needs a delivery path and the user must actually open the file (UI:P). The specific trigger is an object descriptor URL whose fragment (the portion after '#') exceeds the available space in the fixed 5000-byte szURL stack buffer, which xmt_resolve_od_links() fills with sprintf('od:%d#%s', ...) in src/scene_manager/loader_xmt.c. No authentication or privileges are required (PR:N), and no special non-default configuration is needed beyond parsing an XMT scene. The principal limiting factor is the required user interaction and local attack vector: the attacker cannot trigger this remotely without convincing a user or an automated pipeline to process the malicious XMT file.

Impact

This is a genuinely medium-severity, not a high-priority emergency, and the signals are internally consistent rather than conflicting. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) describes a local, client-side flaw: the attacker does not reach MP4Box over a network but must get a victim to load a crafted XMT scene file (UI:P, passive user interaction). The dominant impact is availability (VA:H) - a reliable crash - with only low confidentiality and integrity impact (VC:L/VI:L), consistent with a stack-based buffer overflow (CWE-121) whose primary observed effect is memory corruption and process termination rather than demonstrated code execution. The vuln.today priority is 'this_month', not act_now or emergency, and there is no CISA KEV listing and no EPSS score provided, so there is no evidence of active exploitation. A public PoC reference exists (a sample .xmt file) but it is not verified as working exploit code, so weaponized remote code execution should not be assumed. The szURL buffer is a fixed 5000-byte stack array written with sprintf from an attacker-controlled, length-unbounded scene fragment, so stack corruption is plausible, but the source evidence confirms only the overflow mechanism and a crash, not controlled RCE. Net: a real bug worth patching on a normal cycle, driven by a crash/DoS of a file-processing tool, not a drop-everything network-exploitable issue.

Exploit ScenarioDerived

An attacker crafts a malicious XMT scene description file containing an object descriptor URL fragment longer than 5000 bytes and distributes it (email attachment, download, media-processing pipeline input). When a victim opens the file with MP4Box, xmt_resolve_od_links() copies the fragment into the fixed szURL stack buffer via sprintf, overflowing it and corrupting the stack, crashing MP4Box. A public PoC reference .xmt file exists but is not verified as working exploit code, so the demonstrated outcome is a crash rather than confirmed code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 22, 2026

Stack-based buffer overflow in GPAC MP4Box through 26.07.0 lets an attacker corrupt stack memory when a crafted XMT scene file is loaded, because xmt_resolve_od_links() copies an unbounded object-descriptor URL fragment into a fixed 5000-byte stack buffer with sprintf(). The flaw is local and requires the victim (or an automated pipeline) to open the malicious .xmt file, so impact centres on a reliable crash of MP4Box, with limited potential for memory corruption effects; no authentication or special configuration is needed beyond parsing the scene. A public proof-of-concept reference exists (a sample .xmt file) but is not verified as working exploit code, and the issue is not flagged as actively exploited; the upstream project has published a fixing commit.

RemediationAI

Upstream fix available (commit 5c9990b0f45ef21aa79c7fa79d49b3f3b8e08057 in gpac/gpac, referenced from issue https://github.com/gpac/gpac/issues/3902); a released patched version number is not independently confirmed from the supplied data, so rebuild GPAC/MP4Box from that commit or a later release once published, tracking the project at https://github.com/gpac/gpac. Because the bug is only reachable by parsing an attacker-supplied XMT scene, the practical compensating control for unpatched deployments is to avoid running MP4Box or other GPAC tools on untrusted .xmt files and to sanitise or reject scene inputs in automated pipelines before they reach the parser - at the cost of breaking legitimate XMT-based media workflows, since the loader has to process the file for the overflow to trigger. Deployments that must handle third-party scene files should sandbox the MP4Box invocation (container or restricted user with no sensitive mounts) so a crash or stack corruption does not escalate, noting that sandboxing reduces but does not remove the underlying memory-safety risk. No other vendor workaround 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's XMT loader (src/scene_manager/loader_xmt.c) parses XML-style MPEG-4 scene descriptions, and xmt_resolve_od_links() rewrites object descriptor URLs of the form od:<id>#<fragment>. In versions through 26.07.0 the function declared a fixed char szURL[5000] on the stack and built the rewritten URL with sprintf(szURL, "od:%d#%s", l->od->objectDescriptorID, seg+1), where seg+1 is the fragment taken verbatim from the scene file with no length limit - the CWE-121 stack-based overflow class. The supplied fix commit 5c9990b0f45ef21aa79c7fa79d49b3f3b8e08057 removes the fixed buffer and instead allocates strlen(seg+1)+20 bytes with gf_malloc and writes via snprintf, so the new URL is sized from the attacker-controlled fragment. The vulnerable lines are referenced at loader_xmt.c#L583-L591 in tag v26.07.0. Because MP4Box is a command-line/local tool rather than a network service, the attack surface is file parsing and the trigger path is a user opening the crafted scene.

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 must be opened by the user (AV:L, UI:R) with no privileges (PR:N); overflow reliably crashes the process (A:H) with limited memory disclosure/corruption (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 stack-based buffer overflow vulnerability in xmt_resolve_od_links() that allows attackers to corrupt stack memory via over-long object descriptor URL fragments. Attackers can craft an XMT scene file whose URL fragment overflows the fixed 5000-byte szURL buffer via sprintf, crashing MP4Box when a user loads it.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
GPAC/MP4Box is a popular open-source multimedia tool but a niche file-processing CLI
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.3%
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

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