CVE-2026-134686 in MP4Boxinfo

Summary

by MITRE • 11/22/2026

GPAC MP4Box through 26.07.0 contains a type confusion vulnerability in gf_sg_command_apply() in src/scenegraph/commands.c that misinterprets single node values as child lists for MFNode field replace commands. Attackers can supply a crafted XMT scene that causes an invalid node pointer to be dereferenced by gf_node_register(), crashing MP4Box for denial of service.

Be aware that VulDB is the high quality source 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 type confusion flaw located within the scenegraph command processing logic, specifically inside the gf_sg_command_apply function found in src/scenegraph/commands.c. This component is responsible for interpreting and applying commands that modify the structure of multimedia scenes defined in XMT formats. The core technical deficiency arises from an incorrect assumption regarding data types during field replacement operations involving MFNode fields. When processing these specific command structures, the software fails to adequately validate whether a single node value provided by the input stream should be treated as an individual entity or expanded into a list of child nodes. This misinterpretation leads directly to improper memory management and pointer handling within the scenegraph engine.

From a technical perspective, this type confusion allows an attacker who supplies a specially crafted XMT scene file to manipulate how internal pointers are resolved. The vulnerability manifests when gf_node_register is invoked with data that has been incorrectly interpreted due to the aforementioned logic error in gf_sg_command_apply. Instead of receiving valid node references expected by the registration function, it receives invalid or malformed pointer values derived from the misinterpreted single node value. This discrepancy results in an attempt to dereference memory addresses that do not correspond to legitimate objects within the application's address space. Such operations violate fundamental principles of safe memory access and are classified under CWE-843, which covers Accessing Memory with Incorrect Type or Size, as well as CWE-120 Buffer Overflow without bounds checking if the invalid pointer leads to out-of-bounds writes during subsequent processing steps.

The operational impact of this vulnerability is primarily a denial of service condition affecting users who process untrusted multimedia content using MP4Box. When gf_node_register attempts to interact with the invalid node pointer, it triggers an immediate crash in the application binary. This instability prevents legitimate media processing tasks from completing and can disrupt workflows that rely on automated batch conversion or analysis tools built upon GPAC libraries. While the primary observed effect is a crash, type confusion vulnerabilities often carry latent risks for further exploitation if memory layout conditions permit arbitrary code execution through heap corruption techniques such as use-after-free scenarios or controlled overwrites of function pointers within vtables associated with scenegraph nodes. However, in this specific instance, the immediate consequence remains application termination due to segmentation faults or similar access violations triggered by the invalid dereference operation.

Mitigation strategies for this vulnerability involve both technical patching and operational best practices. The most effective remediation is upgrading GPAC MP4Box to a version newer than 26.07.0, where developers have implemented stricter type checking and validation logic within gf_sg_command_apply to ensure that MFNode field replacements correctly distinguish between single node values and child lists before proceeding with registration calls. For environments unable to immediately upgrade, input sanitization is critical; administrators should restrict the processing of XMT scene files from untrusted sources or validate their structure against known safe schemas prior ingestion into MP4Box tools. Additionally, enabling Address Space Layout Randomization (ASLR) and stack canaries on affected systems can provide defense-in-depth measures that may mitigate exploitation attempts by making memory layout unpredictable for attackers attempting to leverage the invalid pointer dereference for code execution.

This vulnerability aligns with ATT&CK technique T1496 Resource Hijacking, specifically in the context of denial-of-service impacts where system resources are consumed or rendered unavailable through application crashes caused by malformed input processing. It also reflects patterns associated with CWE-20 Improper Input Validation, as the root cause lies in the failure to correctly validate and interpret the structure and type of incoming scene graph commands. Security teams should prioritize patching this component within their media pipeline infrastructure to prevent potential service disruptions and reduce the attack surface related to scenegraph parsing logic. Regular auditing of third-party library versions used in multimedia processing pipelines is essential to maintain resilience against such implementation flaws that stem from complex data structure handling errors.

Responsible

VulnCheck

Reservation

11/22/2026

Disclosure

11/22/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!