CVE-2026-134688 in MP4Box
Summary
by MITRE • 11/22/2026
GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability in the BT/XMT context loader that frees an interaction-type decoder-specific descriptor even when UIConfig re-encoding fails. Attackers can supply a crafted XMT scene with a BIFSConfig descriptor, causing gf_odf_delete_descriptor() to reuse and free it again, crashing MP4Box and corrupting heap memory.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/22/2026
The vulnerability identified in GPAC MP4Box versions up to 26.07.0 represents a critical use-after-free flaw within the BT/XMT context loader component of the multimedia processing framework. This specific defect arises from improper handling of interaction-type decoder-specific descriptors during the parsing and re-encoding processes associated with BIFSConfig structures. The core technical issue lies in the lifecycle management of memory objects allocated for these descriptors, where the application fails to correctly track whether a descriptor has already been deallocated before attempting further operations on it.
When an attacker supplies a crafted XMT scene containing a specifically constructed BIFSConfig descriptor, they can trigger a sequence of events that leads to premature or duplicate freeing of heap-allocated memory. Specifically, during the re-encoding phase triggered by UIConfig processing, if this process fails or encounters specific error conditions, the code path incorrectly proceeds to call gf_odf_delete_descriptor() on an object that has already been freed in a prior step within the same execution flow. This results in the descriptor being reused and subsequently freed again, which violates standard memory safety principles and leads to undefined behavior within the application runtime environment.
The operational impact of this vulnerability is significant for users relying on MP4Box for media conversion or analysis tasks involving complex interactive multimedia scenes. The immediate consequence observed during exploitation attempts includes a segmentation fault causing the crash of the MP4Box process, which disrupts service availability and can lead to data loss if unsaved work was in progress. Beyond simple denial-of-service through application crashes, the corruption of heap memory poses severe security risks. Heap corruption can potentially be leveraged by sophisticated attackers to execute arbitrary code, bypass stack-based protections, or escalate privileges depending on the context in which MP4Box is running and the specific state of the heap at the time of exploitation.
From a classification perspective, this vulnerability aligns with CWE-416, Use After Free, as it involves accessing memory after it has been returned to the free pool without proper reallocation or nullification checks. In terms of adversary tactics, this flaw could be utilized in initial access scenarios where maliciously crafted media files are delivered via phishing emails or compromised websites to trigger remote code execution when a victim opens the file using MP4Box or integrated tools that rely on its libraries. It also relates to CWE-120, Buffer Overflow, indirectly through the potential for heap corruption leading to control flow hijacking, and falls under ATT&CK technique T1203, Exploitation for Client Execution, if used in a targeted attack vector against end-users processing multimedia content.
Mitigation strategies should prioritize immediate updates to GPAC MP4Box version 26.07.1 or later where this logic error has been rectified by developers ensuring proper reference counting and nullification of pointers after deallocation. For environments unable to update immediately, deploying input validation filters that reject malformed XMT scenes with suspicious BIFSConfig structures can provide a layer of defense-in-depth. Security teams should also monitor for anomalous process termination events associated with MP4Box in logs as an indicator of potential exploitation attempts and restrict the execution privileges of multimedia processing tools to minimize the impact if heap corruption does occur.