CVE-2026-134668
Severity CVSS v4.0:
MEDIUM
Type:
CWE-416
Use After Free
Publication date:
22/11/2026
Last modified:
22/11/2026
Description
GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability in the XMT scene loader that allows attackers to corrupt heap memory when xmt_node_end() discards an out-of-scope node without resetting command-buffer state. Attackers can supply a crafted XMT file that leaves parser->command_buffer and parser->command dangling, causing later parsing to access freed memory and crash MP4Box.
Impact
Base Score 4.0
6.90
Severity 4.0
MEDIUM
Base Score 3.x
6.60
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L2522-L2526
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L3193-L3197
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L3446-L3458
- https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf
- https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81d
- https://github.com/gpac/gpac/issues/3775
- https://github.com/gpac/gpac/issues/3781
- https://github.com/gpac/gpac/issues/3782
- https://github.com/gpac/gpac/issues/3789
- https://github.com/gpac/gpac/issues/3790
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/165/165_load_xmt_run_scene_manager_loader_xmt_c_3449.xmt
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/173/173_xmt_parse_command_scene_manager_loader_xmt_c_2525.xmt
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/182/182_xmt_node_start_scene_manager_loader_xmt_c_2770.xmt
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-use-after-free-in-xmt-loader


